home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-10-19 | 75.5 KB | [ONLN/HLX2] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon Oct 17 08:18:28 1994, modified Wed Oct 19 10:32:14 1994, creator 'HLX2', type 'ONLN', 74105 bytes "TB35 Multifinder MISC" , at 0x121f9 3037 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
100%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [ONLN] |
macFileCreator | [HLX2] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 15 54 42 33 35 20 4d | 75 6c 74 69 66 69 6e 64 |..TB35 M|ultifind|
|00000010| 65 72 20 4d 49 53 43 00 | 00 00 00 00 00 00 00 00 |er MISC.|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 01 21 79 00 | 00 0b dd aa c8 1c 14 aa |.....!y.|........|
|00000060| ca de 6e 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..n.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 da 71 00 00 |........|.....q..|
|00000080| 54 42 20 33 35 20 2d 20 | 4d 75 6c 74 69 46 69 6e |TB 35 - |MultiFin|
|00000090| 64 65 72 20 4d 69 73 63 | 65 6c 6c 61 6e 65 61 0d |der Misc|ellanea.|
|000000a0| 54 6f 6f 6c 62 6f 78 09 | 0d 52 65 76 69 73 65 64 |Toolbox.|.Revised|
|000000b0| 20 62 79 3a 09 44 61 76 | 65 20 52 61 64 63 6c 69 | by:.Dav|e Radcli|
|000000c0| 66 66 65 20 26 20 4b 65 | 69 74 68 20 52 6f 6c 6c |ffe & Ke|ith Roll|
|000000d0| 69 6e 09 41 75 67 75 73 | 74 20 31 39 38 39 0d 57 |in.Augus|t 1989.W|
|000000e0| 72 69 74 74 65 6e 20 62 | 79 3a 09 4a 69 6d 20 46 |ritten b|y:.Jim F|
|000000f0| 72 69 65 64 6c 61 6e 64 | 65 72 09 4e 6f 76 65 6d |riedland|er.Novem|
|00000100| 62 65 72 20 31 39 38 37 | 0d 54 68 69 73 20 54 65 |ber 1987|.This Te|
|00000110| 63 68 6e 69 63 61 6c 20 | 4e 6f 74 65 20 64 69 73 |chnical |Note dis|
|00000120| 63 75 73 73 65 73 20 4d | 75 6c 74 69 46 69 6e 64 |cusses M|ultiFind|
|00000130| 65 72 20 69 73 73 75 65 | 73 20 6f 66 20 77 68 69 |er issue|s of whi|
|00000140| 63 68 20 70 72 6f 67 72 | 61 6d 6d 65 72 73 20 73 |ch progr|ammers s|
|00000150| 68 6f 75 6c 64 20 62 65 | 20 61 77 61 72 65 2e 0d |hould be| aware..|
|00000160| 43 68 61 6e 67 65 73 20 | 73 69 6e 63 65 20 4a 75 |Changes |since Ju|
|00000170| 6e 65 20 31 39 38 38 3a | 20 20 55 70 64 61 74 65 |ne 1988:| Update|
|00000180| 64 20 61 6e 64 20 67 65 | 6e 65 72 61 6c 69 7a 65 |d and ge|neralize|
|00000190| 64 20 73 61 6d 70 6c 65 | 20 63 6f 64 65 20 74 6f |d sample| code to|
|000001a0| 20 72 65 66 6c 65 63 74 | 20 6e 65 77 20 4d 50 57 | reflect| new MPW|
|000001b0| 20 33 2e 30 20 63 61 6c | 6c 73 20 69 6e 20 62 6f | 3.0 cal|ls in bo|
|000001c0| 74 68 20 43 20 61 6e 64 | 20 50 61 73 63 61 6c 20 |th C and| Pascal |
|000001d0| 66 6f 72 20 73 61 76 69 | 6e 67 20 61 6e 64 20 72 |for savi|ng and r|
|000001e0| 65 73 74 6f 72 69 6e 67 | 20 41 35 20 66 6f 72 20 |estoring| A5 for |
|000001f0| 69 6e 74 65 72 72 75 70 | 74 20 63 6f 64 65 20 74 |interrup|t code t|
|00000200| 68 61 74 20 61 63 63 65 | 73 73 65 73 20 61 70 70 |hat acce|sses app|
|00000210| 6c 69 63 61 74 69 6f 6e | 20 67 6c 6f 62 61 6c 73 |lication| globals|
|00000220| 2e 20 20 52 65 6d 6f 76 | 65 64 20 74 65 78 74 20 |. Remov|ed text |
|00000230| 74 68 61 74 20 63 61 6e | 20 62 65 20 66 6f 75 6e |that can| be foun|
|00000240| 64 20 69 6e 20 50 72 6f | 67 72 61 6d 6d 65 72 d5 |d in Pro|grammer.|
|00000250| 73 20 47 75 69 64 65 20 | 74 6f 20 4d 75 6c 74 69 |s Guide |to Multi|
|00000260| 46 69 6e 64 65 72 2c 20 | 61 6e 64 20 61 64 64 65 |Finder, |and adde|
|00000270| 64 20 61 20 6e 6f 74 65 | 20 61 62 6f 75 74 20 5f |d a note| about _|
|00000280| 50 6f 73 74 45 76 65 6e | 74 2e 0d 53 77 69 74 63 |PostEven|t..Switc|
|00000290| 68 69 6e 67 0d 46 6f 72 | 20 63 6f 6e 63 65 70 74 |hing.For| concept|
|000002a0| 75 61 6c 20 63 6c 61 72 | 69 74 79 2c 20 69 74 20 |ual clar|ity, it |
|000002b0| 69 73 20 62 65 73 74 20 | 74 6f 20 74 68 69 6e 6b |is best |to think|
|000002c0| 20 6f 66 20 4d 75 6c 74 | 69 46 69 6e 64 65 72 20 | of Mult|iFinder |
|000002d0| 36 2e 30 20 61 6e 64 20 | 65 61 72 6c 69 65 72 20 |6.0 and |earlier |
|000002e0| 61 73 20 75 73 69 6e 67 | 20 74 68 72 65 65 20 74 |as using| three t|
|000002f0| 79 70 65 73 20 6f 66 20 | 73 77 69 74 63 68 69 6e |ypes of |switchin|
|00000300| 67 3a 20 20 6d 61 6a 6f | 72 2c 20 6d 69 6e 6f 72 |g: majo|r, minor|
|00000310| 2c 20 61 6e 64 20 75 70 | 64 61 74 65 2e 20 20 41 |, and up|date. A|
|00000320| 6c 6c 20 73 77 69 74 63 | 68 69 6e 67 20 6f 63 63 |ll switc|hing occ|
|00000330| 75 72 73 20 61 74 20 61 | 20 77 65 6c 6c 20 64 65 |urs at a| well de|
|00000340| 66 69 6e 65 64 20 74 69 | 6d 65 73 2c 20 6e 61 6d |fined ti|mes, nam|
|00000350| 65 6c 79 2c 20 77 68 65 | 6e 20 61 20 63 61 6c 6c |ely, whe|n a call|
|00000360| 20 69 73 20 6d 61 64 65 | 20 74 6f 20 65 69 74 68 | is made| to eith|
|00000370| 65 72 20 5f 57 61 69 74 | 4e 65 78 74 45 76 65 6e |er _Wait|NextEven|
|00000380| 74 2c 20 5f 47 65 74 4e | 65 78 74 45 76 65 6e 74 |t, _GetN|extEvent|
|00000390| 2c 20 6f 72 20 5f 45 76 | 65 6e 74 41 76 61 69 6c |, or _Ev|entAvail|
|000003a0| 2e 0d 4d 61 6a 6f 72 20 | 73 77 69 74 63 68 69 6e |..Major |switchin|
|000003b0| 67 20 69 73 20 61 20 63 | 6f 6d 70 6c 65 74 65 20 |g is a c|omplete |
|000003c0| 63 6f 6e 74 65 78 74 20 | 73 77 69 74 63 68 2c 20 |context |switch, |
|000003d0| 74 68 61 74 20 69 73 2c | 20 61 6e 20 61 70 70 6c |that is,| an appl|
|000003e0| 69 63 61 74 69 6f 6e d5 | 73 20 77 69 6e 64 6f 77 |ication.|s window|
|000003f0| 73 20 61 72 65 20 6d 6f | 76 65 64 20 66 72 6f 6d |s are mo|ved from|
|00000400| 20 74 68 65 20 62 61 63 | 6b 67 72 6f 75 6e 64 20 | the bac|kground |
|00000410| 74 6f 20 74 68 65 20 66 | 6f 72 65 67 72 6f 75 6e |to the f|oregroun|
|00000420| 64 20 6f 72 20 76 69 63 | 65 20 76 65 72 73 61 2e |d or vic|e versa.|
|00000430| 20 20 41 35 20 77 6f 72 | 6c 64 73 20 61 72 65 20 | A5 wor|lds are |
|00000440| 73 77 69 74 63 68 65 64 | 2c 20 61 6e 64 20 74 68 |switched|, and th|
|00000450| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e d5 73 20 |e applic|ation.s |
|00000460| 6c 6f 77 2d 6d 65 6d 6f | 72 79 20 77 6f 72 6c 64 |low-memo|ry world|
|00000470| 20 69 73 20 73 77 69 74 | 63 68 65 64 2e 20 20 49 | is swit|ched. I|
|00000480| 66 20 74 68 65 20 61 70 | 70 6c 69 63 61 74 69 6f |f the ap|plicatio|
|00000490| 6e 20 61 63 63 65 70 74 | 73 20 53 75 73 70 65 6e |n accept|s Suspen|
|000004a0| 64 20 61 6e 64 20 52 65 | 73 75 6d 65 20 65 76 65 |d and Re|sume eve|
|000004b0| 6e 74 73 2c 20 69 74 20 | 69 73 20 73 6f 20 6e 6f |nts, it |is so no|
|000004c0| 74 69 66 69 65 64 20 61 | 74 20 6d 61 6a 6f 72 20 |tified a|t major |
|000004d0| 73 77 69 74 63 68 20 74 | 69 6d 65 2e 0d 4d 61 6a |switch t|ime..Maj|
|000004e0| 6f 72 20 73 77 69 74 63 | 68 69 6e 67 20 77 69 6c |or switc|hing wil|
|000004f0| 6c 20 6e 6f 74 20 6f 63 | 63 75 72 20 77 68 65 6e |l not oc|cur when|
|00000500| 20 61 20 6d 6f 64 61 6c | 20 64 69 61 6c 6f 67 20 | a modal| dialog |
|00000510| 69 73 20 74 68 65 20 66 | 72 6f 6e 74 6d 6f 73 74 |is the f|rontmost|
|00000520| 20 77 69 6e 64 6f 77 20 | 6f 66 20 74 68 65 20 66 | window |of the f|
|00000530| 72 6f 6e 74 20 6c 61 79 | 65 72 2c 20 74 68 6f 75 |ront lay|er, thou|
|00000540| 67 68 20 6d 69 6e 6f 72 | 20 61 6e 64 20 75 70 64 |gh minor| and upd|
|00000550| 61 74 65 20 73 77 69 74 | 63 68 69 6e 67 20 77 69 |ate swit|ching wi|
|00000560| 6c 6c 20 6f 63 63 75 72 | 2e 20 20 54 6f 20 64 65 |ll occur|. To de|
|00000570| 74 65 72 6d 69 6e 65 20 | 77 68 65 74 68 65 72 20 |termine |whether |
|00000580| 6d 61 6a 6f 72 20 73 77 | 69 74 63 68 69 6e 67 20 |major sw|itching |
|00000590| 77 69 6c 6c 20 6f 63 63 | 75 72 2c 20 4d 75 6c 74 |will occ|ur, Mult|
|000005a0| 69 46 69 6e 64 65 72 20 | 63 68 65 63 6b 73 20 28 |iFinder |checks (|
|000005b0| 61 6d 6f 6e 67 20 6f 74 | 68 65 72 20 74 68 69 6e |among ot|her thin|
|000005c0| 67 73 29 20 69 66 20 74 | 68 65 20 77 69 6e 64 6f |gs) if t|he windo|
|000005d0| 77 20 64 65 66 69 6e 69 | 74 69 6f 6e 20 70 72 6f |w defini|tion pro|
|000005e0| 63 65 64 75 72 65 20 6f | 66 20 74 68 61 74 20 77 |cedure o|f that w|
|000005f0| 69 6e 64 6f 77 20 69 73 | 20 64 42 6f 78 50 72 6f |indow is| dBoxPro|
|00000600| 63 2e 20 20 49 66 20 69 | 74 20 69 73 2c 20 74 68 |c. If i|t is, th|
|00000610| 65 6e 20 4d 75 6c 74 69 | 46 69 6e 64 65 72 20 77 |en Multi|Finder w|
|00000620| 6f 6e d5 74 20 61 6c 6c | 6f 77 20 61 20 73 77 69 |on.t all|ow a swi|
|00000630| 74 63 68 20 76 69 61 20 | 74 68 65 20 75 73 65 72 |tch via |the user|
|00000640| 20 63 6c 69 63 6b 69 6e | 67 20 6f 6e 20 61 6e 6f | clickin|g on ano|
|00000650| 74 68 65 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |ther app|lication|
|00000660| 2e 20 20 41 20 77 69 6e | 64 6f 77 20 64 65 66 69 |. A win|dow defi|
|00000670| 6e 69 74 69 6f 6e 20 70 | 72 6f 63 65 64 75 72 65 |nition p|rocedure|
|00000680| 20 6f 66 20 64 42 6f 78 | 50 72 6f 63 20 69 73 20 | of dBox|Proc is |
|00000690| 73 70 65 63 69 66 69 63 | 61 6c 6c 79 20 72 65 73 |specific|ally res|
|000006a0| 65 72 76 65 64 20 66 6f | 72 20 6d 6f 64 61 6c 20 |erved fo|r modal |
|000006b0| 64 69 61 6c 6f 67 73 d1 | 77 68 65 6e 20 6d 6f 73 |dialogs.|when mos|
|000006c0| 74 20 75 73 65 72 73 20 | 73 65 65 20 61 20 64 42 |t users |see a dB|
|000006d0| 6f 78 50 72 6f 63 2c 20 | 74 68 65 79 20 61 72 65 |oxProc, |they are|
|000006e0| 20 65 78 70 65 63 74 69 | 6e 67 20 61 20 6d 6f 64 | expecti|ng a mod|
|000006f0| 61 6c 20 73 69 74 75 61 | 74 69 6f 6e 2e 20 20 49 |al situa|tion. I|
|00000700| 66 20 79 6f 75 20 61 72 | 65 20 75 73 69 6e 67 20 |f you ar|e using |
|00000710| 61 20 64 42 6f 78 50 72 | 6f 63 20 66 6f 72 20 61 |a dBoxPr|oc for a|
|00000720| 20 6e 6f 6e 2d 6d 6f 64 | 61 6c 20 77 69 6e 64 6f | non-mod|al windo|
|00000730| 77 2c 20 77 65 20 73 74 | 72 6f 6e 67 6c 79 20 72 |w, we st|rongly r|
|00000740| 65 63 6f 6d 6d 65 6e 64 | 20 74 68 61 74 20 79 6f |ecommend| that yo|
|00000750| 75 20 63 68 61 6e 67 65 | 20 69 74 20 74 6f 20 73 |u change| it to s|
|00000760| 6f 6d 65 20 6f 74 68 65 | 72 20 77 69 6e 64 6f 77 |ome othe|r window|
|00000770| 20 74 79 70 65 2c 20 6f | 72 20 72 69 73 6b 20 74 | type, o|r risk t|
|00000780| 68 65 20 77 72 61 74 68 | 20 6f 66 20 74 68 65 20 |he wrath| of the |
|00000790| 55 73 65 72 d0 49 6e 74 | 65 72 66 61 63 65 20 54 |User.Int|erface T|
|000007a0| 68 6f 75 67 68 74 20 50 | 6f 6c 69 63 65 20 28 55 |hought P|olice (U|
|000007b0| 49 54 50 29 2e 0d 4d 69 | 6e 6f 72 20 73 77 69 74 |ITP)..Mi|nor swit|
|000007c0| 63 68 69 6e 67 20 6f 63 | 63 75 72 73 20 77 68 65 |ching oc|curs whe|
|000007d0| 6e 20 61 6e 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |n an app|lication|
|000007e0| 20 6e 65 65 64 73 20 74 | 6f 20 62 65 20 73 77 69 | needs t|o be swi|
|000007f0| 74 63 68 65 64 20 6f 75 | 74 20 74 6f 20 67 69 76 |tched ou|t to giv|
|00000800| 65 20 74 69 6d 65 20 74 | 6f 20 62 61 63 6b 67 72 |e time t|o backgr|
|00000810| 6f 75 6e 64 20 70 72 6f | 63 65 73 73 65 73 2e 20 |ound pro|cesses. |
|00000820| 20 49 6e 20 61 20 6d 69 | 6e 6f 72 20 73 77 69 74 | In a mi|nor swit|
|00000830| 63 68 2c 20 41 35 20 77 | 6f 72 6c 64 73 20 61 72 |ch, A5 w|orlds ar|
|00000840| 65 20 73 77 69 74 63 68 | 65 64 2c 20 61 73 20 61 |e switch|ed, as a|
|00000850| 72 65 20 6c 6f 77 2d 6d | 65 6d 6f 72 79 20 77 6f |re low-m|emory wo|
|00000860| 72 6c 64 73 2c 20 62 75 | 74 20 74 68 65 20 61 70 |rlds, bu|t the ap|
|00000870| 70 6c 69 63 61 74 69 6f | 6e d5 73 20 6c 61 79 65 |plicatio|n.s laye|
|00000880| 72 20 6f 66 20 77 69 6e | 64 6f 77 73 20 69 73 20 |r of win|dows is |
|00000890| 6e 6f 74 20 73 77 69 74 | 63 68 65 64 2c 20 61 6e |not swit|ched, an|
|000008a0| 64 20 74 68 65 20 61 70 | 70 6c 69 63 61 74 69 6f |d the ap|plicatio|
|000008b0| 6e 20 77 6f 6e d5 74 20 | 62 65 20 6e 6f 74 69 66 |n won.t |be notif|
|000008c0| 69 65 64 20 6f 66 20 74 | 68 65 20 73 77 69 74 63 |ied of t|he switc|
|000008d0| 68 20 76 69 61 20 53 75 | 73 70 65 6e 64 20 61 6e |h via Su|spend an|
|000008e0| 64 20 52 65 73 75 6d 65 | 20 65 76 65 6e 74 73 2e |d Resume| events.|
|000008f0| 0d 55 70 64 61 74 65 20 | 73 77 69 74 63 68 69 6e |.Update |switchin|
|00000900| 67 20 6f 63 63 75 72 73 | 20 77 68 65 6e 20 4d 75 |g occurs| when Mu|
|00000910| 6c 74 69 46 69 6e 64 65 | 72 20 64 65 74 65 63 74 |ltiFinde|r detect|
|00000920| 73 20 74 68 61 74 20 6f | 6e 65 20 6f 72 20 6d 6f |s that o|ne or mo|
|00000930| 72 65 20 6f 66 20 74 68 | 65 20 77 69 6e 64 6f 77 |re of th|e window|
|00000940| 73 20 6f 66 20 61 6e 20 | 61 70 70 6c 69 63 61 74 |s of an |applicat|
|00000950| 69 6f 6e 20 74 68 61 74 | 20 69 73 20 6e 6f 74 20 |ion that| is not |
|00000960| 66 72 6f 6e 74 6d 6f 73 | 74 20 6e 65 65 64 73 20 |frontmos|t needs |
|00000970| 75 70 64 61 74 69 6e 67 | 2e 20 20 54 68 69 73 20 |updating|. This |
|00000980| 68 61 70 70 65 6e 73 20 | 77 68 65 74 68 65 72 20 |happens |whether |
|00000990| 6f 72 20 6e 6f 74 20 74 | 68 65 20 61 70 70 6c 69 |or not t|he appli|
|000009a0| 63 61 74 69 6f 6e 20 68 | 61 73 20 74 68 65 20 63 |cation h|as the c|
|000009b0| 61 6e 42 61 63 6b 67 72 | 6f 75 6e 64 20 62 69 74 |anBackgr|ound bit|
|000009c0| 20 69 6e 20 74 68 65 20 | 27 53 49 5a 45 27 20 d0 | in the |'SIZE' .|
|000009d0| 31 20 72 65 73 6f 75 72 | 63 65 20 73 65 74 2e 20 |1 resour|ce set. |
|000009e0| 20 54 68 69 73 20 73 77 | 69 74 63 68 20 69 73 20 | This sw|itch is |
|000009f0| 76 65 72 79 20 73 69 6d | 69 6c 61 72 20 74 6f 20 |very sim|ilar to |
|00000a00| 6d 69 6e 6f 72 20 73 77 | 69 74 63 68 69 6e 67 2c |minor sw|itching,|
|00000a10| 20 65 78 63 65 70 74 20 | 74 68 61 74 20 75 70 64 | except |that upd|
|00000a20| 61 74 65 20 65 76 65 6e | 74 73 20 61 72 65 20 73 |ate even|ts are s|
|00000a30| 65 6e 74 20 74 6f 20 74 | 68 65 20 61 70 70 6c 69 |ent to t|he appli|
|00000a40| 63 61 74 69 6f 6e 20 77 | 68 6f 73 65 20 77 69 6e |cation w|hose win|
|00000a50| 64 6f 77 20 6e 65 65 64 | 20 75 70 64 61 74 69 6e |dow need| updatin|
|00000a60| 67 2e 0d 42 6f 74 68 20 | 6d 69 6e 6f 72 20 61 6e |g..Both |minor an|
|00000a70| 64 20 75 70 64 61 74 65 | 20 73 77 69 74 63 68 65 |d update| switche|
|00000a80| 73 20 73 68 6f 75 6c 64 | 20 62 65 20 74 72 61 6e |s should| be tran|
|00000a90| 73 70 61 72 65 6e 74 20 | 74 6f 20 74 68 65 20 66 |sparent |to the f|
|00000aa0| 72 6f 6e 74 6d 6f 73 74 | 20 61 70 70 6c 69 63 61 |rontmost| applica|
|00000ab0| 74 69 6f 6e 2e 0d 53 75 | 73 70 65 6e 64 20 61 6e |tion..Su|spend an|
|00000ac0| 64 20 52 65 73 75 6d 65 | 20 45 76 65 6e 74 73 0d |d Resume| Events.|
|00000ad0| 49 66 20 79 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |If your |applicat|
|00000ae0| 69 6f 6e 20 64 6f 65 73 | 20 6e 6f 74 20 61 63 63 |ion does| not acc|
|00000af0| 65 70 74 20 53 75 73 70 | 65 6e 64 20 61 6e 64 20 |ept Susp|end and |
|00000b00| 52 65 73 75 6d 65 20 65 | 76 65 6e 74 73 20 28 61 |Resume e|vents (a|
|00000b10| 73 20 73 65 74 20 69 6e | 20 74 68 65 20 27 53 49 |s set in| the 'SI|
|00000b20| 5a 45 27 20 d0 31 20 72 | 65 73 6f 75 72 63 65 29 |ZE' .1 r|esource)|
|00000b30| 2c 20 74 68 65 6e 20 69 | 66 20 61 20 6d 6f 75 73 |, then i|f a mous|
|00000b40| 65 2d 63 6c 69 63 6b 20 | 65 76 65 6e 74 20 6f 63 |e-click |event oc|
|00000b50| 63 75 72 73 20 69 6e 20 | 61 20 77 69 6e 64 6f 77 |curs in |a window|
|00000b60| 20 74 68 61 74 20 69 73 | 6e d5 74 20 79 6f 75 72 | that is|n.t your|
|00000b70| 73 2c 20 4d 75 6c 74 69 | 46 69 6e 64 65 72 20 77 |s, Multi|Finder w|
|00000b80| 69 6c 6c 20 73 65 6e 64 | 20 79 6f 75 72 20 61 70 |ill send| your ap|
|00000b90| 70 6c 69 63 61 74 69 6f | 6e 20 61 20 6d 6f 75 73 |plicatio|n a mous|
|00000ba0| 65 2d 64 6f 77 6e 20 65 | 76 65 6e 74 20 77 69 74 |e-down e|vent wit|
|00000bb0| 68 20 63 6f 64 65 20 69 | 6e 4d 65 6e 75 42 61 72 |h code i|nMenuBar|
|00000bc0| 20 28 77 69 74 68 20 6d | 65 6e 75 49 44 20 65 71 | (with m|enuID eq|
|00000bd0| 75 61 6c 20 74 6f 20 74 | 68 65 20 49 44 20 6f 66 |ual to t|he ID of|
|00000be0| 20 74 68 65 20 41 70 70 | 6c 65 20 6d 65 6e 75 20 | the App|le menu |
|00000bf0| 61 6e 64 20 6d 65 6e 75 | 49 74 65 6d 20 73 65 74 |and menu|Item set|
|00000c00| 20 74 6f 20 d2 41 62 6f | 75 74 20 4d 75 6c 74 69 | to .Abo|ut Multi|
|00000c10| 46 69 6e 64 65 72 c9 d3 | 29 2e 20 20 54 68 65 20 |Finder..|). The |
|00000c20| 72 65 61 73 6f 6e 20 74 | 68 61 74 20 4d 75 6c 74 |reason t|hat Mult|
|00000c30| 69 46 69 6e 64 65 72 20 | 64 6f 65 73 20 74 68 69 |iFinder |does thi|
|00000c40| 73 20 69 73 20 74 6f 20 | 66 6f 72 63 65 20 79 6f |s is to |force yo|
|00000c50| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 74 |ur appli|cation t|
|00000c60| 6f 20 74 68 69 6e 6b 20 | 74 68 61 74 20 61 20 64 |o think |that a d|
|00000c70| 65 73 6b 20 61 63 63 65 | 73 73 6f 72 79 20 69 73 |esk acce|ssory is|
|00000c80| 20 6f 70 65 6e 69 6e 67 | 2c 20 73 6f 20 74 68 61 | opening|, so tha|
|00000c90| 74 20 69 74 20 77 69 6c | 6c 20 63 6f 6e 76 65 72 |t it wil|l conver|
|00000ca0| 74 20 61 6e 79 20 70 72 | 69 76 61 74 65 20 73 63 |t any pr|ivate sc|
|00000cb0| 72 61 70 20 74 68 61 74 | 20 69 74 20 6d 69 67 68 |rap that| it migh|
|00000cc0| 74 20 62 65 20 6b 65 65 | 70 69 6e 67 2e 20 20 4d |t be kee|ping. M|
|00000cd0| 75 6c 74 69 46 69 6e 64 | 65 72 20 69 73 20 65 78 |ultiFind|er is ex|
|00000ce0| 70 65 63 74 69 6e 67 20 | 79 6f 75 72 20 61 70 70 |pecting |your app|
|00000cf0| 6c 69 63 61 74 69 6f 6e | 20 74 6f 20 63 61 6c 6c |lication| to call|
|00000d00| 20 5f 4d 65 6e 75 53 65 | 6c 65 63 74 d1 69 66 20 | _MenuSe|lect.if |
|00000d10| 79 6f 75 20 64 6f 6e d5 | 74 2c 20 69 74 20 77 69 |you don.|t, it wi|
|00000d20| 6c 6c 20 63 75 72 72 65 | 6e 74 6c 79 20 69 73 73 |ll curre|ntly iss|
|00000d30| 75 65 20 61 20 66 65 77 | 20 6d 6f 72 65 20 6d 6f |ue a few| more mo|
|00000d40| 75 73 65 2d 64 6f 77 6e | 20 65 76 65 6e 74 73 20 |use-down| events |
|00000d50| 69 6e 20 74 68 65 20 6d | 65 6e 75 20 62 61 72 20 |in the m|enu bar |
|00000d60| 62 65 66 6f 72 65 20 66 | 69 6e 61 6c 6c 79 20 67 |before f|inally g|
|00000d70| 69 76 69 6e 67 20 75 70 | 2e 20 20 54 68 69 73 20 |iving up|. This |
|00000d80| 69 73 6e d5 74 20 72 65 | 61 6c 6c 79 20 61 20 70 |isn.t re|ally a p|
|00000d90| 72 6f 62 6c 65 6d 2c 20 | 62 75 74 20 61 20 6c 6f |roblem, |but a lo|
|00000da0| 74 20 6f 66 20 64 65 76 | 65 6c 6f 70 65 72 73 20 |t of dev|elopers |
|00000db0| 68 61 76 65 20 72 75 6e | 20 69 6e 74 6f 20 69 74 |have run| into it|
|00000dc0| 2c 20 65 73 70 65 63 69 | 61 6c 6c 79 20 69 6e 20 |, especi|ally in |
|00000dd0| d2 71 75 69 63 6b 20 61 | 6e 64 20 64 69 72 74 79 |.quick a|nd dirty|
|00000de0| d3 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 73 2e 0d |. applic|ations..|
|00000df0| 49 66 20 79 6f 75 20 61 | 72 65 20 73 77 69 74 63 |If you a|re switc|
|00000e00| 68 69 6e 67 20 6d 65 6e | 75 20 62 61 72 73 20 77 |hing men|u bars w|
|00000e10| 69 74 68 20 5f 53 65 74 | 4d 65 6e 75 42 61 72 20 |ith _Set|MenuBar |
|00000e20| 28 61 6e 64 20 73 77 69 | 74 63 68 69 6e 67 20 74 |(and swi|tching t|
|00000e30| 68 65 20 41 70 70 6c 65 | 20 4d 65 6e 75 29 20 64 |he Apple| Menu) d|
|00000e40| 75 72 69 6e 67 20 74 68 | 65 20 65 78 65 63 75 74 |uring th|e execut|
|00000e50| 69 6f 6e 20 6f 66 20 79 | 6f 75 72 20 61 70 70 6c |ion of y|our appl|
|00000e60| 69 63 61 74 69 6f 6e 2c | 20 74 68 65 6e 20 79 6f |ication,| then yo|
|00000e70| 75 20 73 68 6f 75 6c 64 | 20 64 65 66 69 6e 69 74 |u should| definit|
|00000e80| 65 6c 79 20 6d 61 6b 65 | 20 73 75 72 65 20 74 68 |ely make| sure th|
|00000e90| 61 74 20 79 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |at your |applicat|
|00000ea0| 69 6f 6e 20 61 63 63 65 | 70 74 73 20 53 75 73 70 |ion acce|pts Susp|
|00000eb0| 65 6e 64 20 61 6e 64 20 | 52 65 73 75 6d 65 20 65 |end and |Resume e|
|00000ec0| 76 65 6e 74 73 2e 20 20 | 4d 75 6c 74 69 46 69 6e |vents. |MultiFin|
|00000ed0| 64 65 72 20 72 65 63 6f | 72 64 73 20 74 68 65 20 |der reco|rds the |
|00000ee0| 49 44 20 6f 66 20 74 68 | 65 20 6f 72 69 67 69 6e |ID of th|e origin|
|00000ef0| 61 6c 20 41 70 70 6c 65 | 20 6d 65 6e 75 20 74 68 |al Apple| menu th|
|00000f00| 61 74 20 79 6f 75 20 75 | 73 65 20 61 6e 64 20 77 |at you u|se and w|
|00000f10| 6f 6e d5 74 20 6b 65 65 | 70 20 74 72 61 63 6b 20 |on.t kee|p track |
|00000f20| 6f 66 20 61 6e 79 20 63 | 68 61 6e 67 65 73 20 74 |of any c|hanges t|
|00000f30| 68 61 74 20 79 6f 75 20 | 6d 61 6b 65 20 74 6f 20 |hat you |make to |
|00000f40| 74 68 65 20 41 70 70 6c | 65 20 6d 65 6e 75 2e 20 |the Appl|e menu. |
|00000f50| 20 53 6f 2c 20 69 6e 20 | 74 68 65 20 61 62 6f 76 | So, in |the abov|
|00000f60| 65 20 73 69 74 75 61 74 | 69 6f 6e 2c 20 4d 75 6c |e situat|ion, Mul|
|00000f70| 74 69 46 69 6e 64 65 72 | 20 77 69 6c 6c 20 67 69 |tiFinder| will gi|
|00000f80| 76 65 20 79 6f 75 20 61 | 20 6d 6f 75 73 65 2d 64 |ve you a| mouse-d|
|00000f90| 6f 77 6e 20 65 76 65 6e | 74 20 69 6e 20 74 68 65 |own even|t in the|
|00000fa0| 20 6d 65 6e 75 20 62 61 | 72 20 77 69 74 68 20 74 | menu ba|r with t|
|00000fb0| 68 65 20 6d 65 6e 75 49 | 74 65 6d 20 73 65 74 20 |he menuI|tem set |
|00000fc0| 74 6f 20 74 68 65 20 69 | 74 65 6d 20 6e 75 6d 62 |to the i|tem numb|
|00000fd0| 65 72 20 6f 66 20 d2 41 | 62 6f 75 74 20 4d 75 6c |er of .A|bout Mul|
|00000fe0| 74 69 46 69 6e 64 65 72 | c9 d3 20 74 68 61 74 20 |tiFinder|.. that |
|00000ff0| 77 61 73 20 69 6e 20 74 | 68 65 20 6f 72 69 67 69 |was in t|he origi|
|00001000| 6e 61 6c 20 41 70 70 6c | 65 20 6d 65 6e 75 2c 20 |nal Appl|e menu, |
|00001010| 77 68 69 63 68 20 63 6f | 75 6c 64 20 62 65 20 71 |which co|uld be q|
|00001020| 75 69 74 65 20 61 20 63 | 6f 6e 66 75 73 69 6e 67 |uite a c|onfusing|
|00001030| 20 73 69 74 75 61 74 69 | 6f 6e 2e 20 20 49 66 20 | situati|on. If |
|00001040| 79 6f 75 20 73 65 74 20 | 74 68 65 20 4d 75 6c 74 |you set |the Mult|
|00001050| 69 46 69 6e 64 65 72 20 | 66 72 69 65 6e 64 6c 79 |iFinder |friendly|
|00001060| 20 62 69 74 20 69 6e 20 | 74 68 65 20 27 53 49 5a | bit in |the 'SIZ|
|00001070| 45 27 20 72 65 73 6f 75 | 72 63 65 2c 20 4d 75 6c |E' resou|rce, Mul|
|00001080| 74 69 46 69 6e 64 65 72 | 20 77 69 6c 6c 20 6e 65 |tiFinder| will ne|
|00001090| 76 65 72 20 67 69 76 65 | 20 79 6f 75 20 74 68 65 |ver give| you the|
|000010a0| 73 65 20 6d 6f 75 73 65 | 2d 64 6f 77 6e 20 65 76 |se mouse|-down ev|
|000010b0| 65 6e 74 73 2e 0d 52 65 | 66 65 72 65 6e 63 69 6e |ents..Re|ferencin|
|000010c0| 67 20 47 6c 6f 62 61 6c | 20 44 61 74 61 20 28 41 |g Global| Data (A|
|000010d0| 35 20 61 6e 64 20 4d 75 | 6c 74 69 46 69 6e 64 65 |5 and Mu|ltiFinde|
|000010e0| 72 29 0d 4d 75 6c 74 69 | 46 69 6e 64 65 72 20 6d |r).Multi|Finder m|
|000010f0| 61 69 6e 74 61 69 6e 73 | 20 61 20 73 65 70 61 72 |aintains| a separ|
|00001100| 61 74 65 20 41 35 20 77 | 6f 72 6c 64 20 66 6f 72 |ate A5 w|orld for|
|00001110| 20 65 61 63 68 20 61 70 | 70 6c 69 63 61 74 69 6f | each ap|plicatio|
|00001120| 6e 2e 20 20 4d 75 6c 74 | 69 46 69 6e 64 65 72 20 |n. Mult|iFinder |
|00001130| 73 77 69 74 63 68 65 73 | 20 41 35 20 77 6f 72 6c |switches| A5 worl|
|00001140| 64 73 20 61 73 20 61 70 | 70 72 6f 70 72 69 61 74 |ds as ap|propriat|
|00001150| 65 2c 20 73 6f 20 6d 6f | 73 74 20 61 70 70 6c 69 |e, so mo|st appli|
|00001160| 63 61 74 69 6f 6e 73 20 | 64 6f 6e d5 74 20 68 61 |cations |don.t ha|
|00001170| 76 65 20 74 6f 20 77 6f | 72 72 79 20 61 62 6f 75 |ve to wo|rry abou|
|00001180| 74 20 41 35 20 61 74 20 | 61 6c 6c 20 28 65 78 63 |t A5 at |all (exc|
|00001190| 65 70 74 20 74 6f 20 6d | 61 6b 65 20 73 75 72 65 |ept to m|ake sure|
|000011a0| 20 74 68 61 74 20 69 74 | 20 70 6f 69 6e 74 73 20 | that it| points |
|000011b0| 74 6f 20 61 20 76 61 6c | 69 64 20 51 75 69 63 6b |to a val|id Quick|
|000011c0| 44 72 61 77 20 67 6c 6f | 62 61 6c 20 72 65 63 6f |Draw glo|bal reco|
|000011d0| 72 64 20 61 74 20 5f 47 | 65 74 4e 65 78 74 45 76 |rd at _G|etNextEv|
|000011e0| 65 6e 74 20 6f 72 20 5f | 57 61 69 74 4e 65 78 74 |ent or _|WaitNext|
|000011f0| 45 76 65 6e 74 20 74 69 | 6d 65 29 2e 20 20 4d 75 |Event ti|me). Mu|
|00001200| 6c 74 69 46 69 6e 64 65 | 72 20 61 6c 73 6f 20 73 |ltiFinde|r also s|
|00001210| 77 69 74 63 68 65 73 20 | 6c 6f 77 2d 6d 65 6d 6f |witches |low-memo|
|00001220| 72 79 20 67 6c 6f 62 61 | 6c 73 20 66 6f 72 20 79 |ry globa|ls for y|
|00001230| 6f 75 2e 20 20 54 6f 20 | 67 65 74 20 74 68 65 20 |ou. To |get the |
|00001240| 76 61 6c 75 65 20 6f 66 | 20 74 68 65 20 61 70 70 |value of| the app|
|00001250| 6c 69 63 61 74 69 6f 6e | d5 73 20 41 35 2c 20 75 |lication|.s A5, u|
|00001260| 73 65 20 74 68 65 20 72 | 6f 75 74 69 6e 65 73 20 |se the r|outines |
|00001270| 66 72 6f 6d 20 54 4d 2e | 4f 56 2e 41 35 2e 0d 49 |from TM.|OV.A5..I|
|00001280| 66 20 61 6e 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |f an app|lication|
|00001290| 20 75 73 65 73 20 72 6f | 75 74 69 6e 65 73 20 74 | uses ro|utines t|
|000012a0| 68 61 74 20 65 78 65 63 | 75 74 65 20 61 74 20 69 |hat exec|ute at i|
|000012b0| 6e 74 65 72 72 75 70 74 | 20 74 69 6d 65 20 61 6e |nterrupt| time an|
|000012c0| 64 20 61 63 63 65 73 73 | 65 73 20 67 6c 6f 62 61 |d access|es globa|
|000012d0| 6c 73 2c 20 74 68 65 6e | 20 69 74 20 6e 65 65 64 |ls, then| it need|
|000012e0| 73 20 74 6f 20 62 65 20 | 63 6f 6e 63 65 72 6e 65 |s to be |concerne|
|000012f0| 64 20 61 62 6f 75 74 20 | 41 35 2e 20 20 4d 75 6c |d about |A5. Mul|
|00001300| 74 69 46 69 6e 64 65 72 | 20 61 66 66 65 63 74 73 |tiFinder| affects|
|00001310| 20 66 6f 75 72 20 62 61 | 73 69 63 20 74 79 70 65 | four ba|sic type|
|00001320| 73 20 6f 66 20 69 6e 74 | 65 72 72 75 70 74 20 72 |s of int|errupt r|
|00001330| 6f 75 74 69 6e 65 73 3a | 0d a5 09 56 42 4c 20 74 |outines:|...VBL t|
|00001340| 61 73 6b 73 20 0d a5 09 | 43 6f 6d 70 6c 65 74 69 |asks ...|Completi|
|00001350| 6f 6e 20 72 6f 75 74 69 | 6e 65 73 20 0d a5 09 54 |on routi|nes ...T|
|00001360| 69 6d 65 20 4d 61 6e 61 | 67 65 72 20 74 61 73 6b |ime Mana|ger task|
|00001370| 73 20 0d a5 09 49 6e 74 | 65 72 72 75 70 74 20 73 |s ...Int|errupt s|
|00001380| 65 72 76 69 63 65 20 72 | 6f 75 74 69 6e 65 73 0d |ervice r|outines.|
|00001390| 56 42 4c 20 54 61 73 6b | 73 0d 49 66 20 61 6e 20 |VBL Task|s.If an |
|000013a0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 69 6e 73 74 |applicat|ion inst|
|000013b0| 61 6c 6c 73 20 61 20 56 | 42 4c 20 74 61 73 6b 20 |alls a V|BL task |
|000013c0| 69 6e 74 6f 20 69 74 73 | 20 61 70 70 6c 69 63 61 |into its| applica|
|000013d0| 74 69 6f 6e 20 68 65 61 | 70 2c 20 4d 75 6c 74 69 |tion hea|p, Multi|
|000013e0| 46 69 6e 64 65 72 20 77 | 69 6c 6c 20 63 75 72 72 |Finder w|ill curr|
|000013f0| 65 6e 74 6c 79 20 d2 75 | 6e 68 6f 6f 6b d3 20 74 |ently .u|nhook. t|
|00001400| 68 61 74 20 56 42 4c 20 | 72 6f 75 74 69 6e 65 20 |hat VBL |routine |
|00001410| 77 68 65 6e 20 69 74 20 | 73 77 69 74 63 68 65 73 |when it |switches|
|00001420| 20 74 68 61 74 20 61 70 | 70 6c 69 63 61 74 69 6f | that ap|plicatio|
|00001430| 6e 20 6f 75 74 20 28 75 | 73 69 6e 67 20 65 69 74 |n out (u|sing eit|
|00001440| 68 65 72 20 61 20 6d 61 | 6a 6f 72 20 6f 72 20 61 |her a ma|jor or a|
|00001450| 20 6d 69 6e 6f 72 20 73 | 77 69 74 63 68 29 2e 20 | minor s|witch). |
|00001460| 20 49 74 20 77 69 6c 6c | 20 d2 72 65 68 6f 6f 6b | It will| .rehook|
|00001470| d3 20 69 74 20 77 68 65 | 6e 20 74 68 65 20 61 70 |. it whe|n the ap|
|00001480| 70 6c 69 63 61 74 69 6f | 6e 20 69 73 20 73 77 69 |plicatio|n is swi|
|00001490| 74 63 68 65 64 20 62 61 | 63 6b 20 69 6e 2e 20 20 |tched ba|ck in. |
|000014a0| 41 20 56 42 4c 20 74 61 | 73 6b 20 74 68 61 74 20 |A VBL ta|sk that |
|000014b0| 69 73 20 69 6e 73 74 61 | 6c 6c 65 64 20 69 6e 20 |is insta|lled in |
|000014c0| 74 68 65 20 73 79 73 74 | 65 6d 20 68 65 61 70 20 |the syst|em heap |
|000014d0| 77 69 6c 6c 20 61 6c 77 | 61 79 73 20 72 65 63 65 |will alw|ays rece|
|000014e0| 69 76 65 20 74 69 6d 65 | 2c 20 74 68 61 74 20 69 |ive time|, that i|
|000014f0| 73 2c 20 69 74 20 77 69 | 6c 6c 20 6e 65 76 65 72 |s, it wi|ll never|
|00001500| 20 62 65 20 d2 75 6e 68 | 6f 6f 6b 65 64 2e d3 20 | be .unh|ooked.. |
|00001510| 20 47 69 76 65 6e 20 74 | 68 69 73 20 63 6f 6e 64 | Given t|his cond|
|00001520| 69 74 69 6f 6e 2c 20 69 | 74 20 69 73 20 74 65 63 |ition, i|t is tec|
|00001530| 68 6e 69 63 61 6c 6c 79 | 20 6e 6f 74 20 6e 65 63 |hnically| not nec|
|00001540| 65 73 73 61 72 79 20 66 | 6f 72 20 61 20 56 42 4c |essary f|or a VBL|
|00001550| 20 74 61 73 6b 20 74 68 | 61 74 20 69 73 20 69 6e | task th|at is in|
|00001560| 20 74 68 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | the app|lication|
|00001570| d5 73 20 68 65 61 70 20 | 74 6f 20 77 6f 72 72 79 |.s heap |to worry|
|00001580| 20 61 62 6f 75 74 20 69 | 74 73 20 41 35 20 63 6f | about i|ts A5 co|
|00001590| 6e 74 65 78 74 2c 20 73 | 69 6e 63 65 20 69 74 20 |ntext, s|ince it |
|000015a0| 77 69 6c 6c 20 6f 6e 6c | 79 20 62 65 20 72 75 6e |will onl|y be run|
|000015b0| 6e 69 6e 67 20 77 68 65 | 6e 20 74 68 61 74 20 61 |ning whe|n that a|
|000015c0| 70 70 6c 69 63 61 74 69 | 6f 6e d5 73 20 70 61 72 |pplicati|on.s par|
|000015d0| 74 69 74 69 6f 6e 20 69 | 73 20 73 77 69 74 63 68 |tition i|s switch|
|000015e0| 65 64 20 69 6e 2e 20 20 | 48 6f 77 65 76 65 72 2c |ed in. |However,|
|000015f0| 20 77 65 20 77 6f 75 6c | 64 20 73 74 69 6c 6c 20 | we woul|d still |
|00001600| 6c 69 6b 65 20 74 6f 20 | 65 6e 63 6f 75 72 61 67 |like to |encourag|
|00001610| 65 20 79 6f 75 20 74 6f | 20 73 65 74 20 75 70 20 |e you to| set up |
|00001620| 41 35 20 62 79 20 63 61 | 72 72 79 69 6e 67 20 69 |A5 by ca|rrying i|
|00001630| 74 73 20 76 61 6c 75 65 | 20 61 72 6f 75 6e 64 20 |ts value| around |
|00001640| 77 69 74 68 20 74 68 65 | 20 56 42 4c 2c 20 73 69 |with the| VBL, si|
|00001650| 6e 63 65 20 77 65 20 6d | 61 79 20 63 68 61 6e 67 |nce we m|ay chang|
|00001660| 65 20 74 68 65 20 77 61 | 79 20 74 68 69 73 20 77 |e the wa|y this w|
|00001670| 6f 72 6b 73 20 69 6e 20 | 66 75 74 75 72 65 20 76 |orks in |future v|
|00001680| 65 72 73 69 6f 6e 73 20 | 6f 66 20 4d 75 6c 74 69 |ersions |of Multi|
|00001690| 46 69 6e 64 65 72 20 28 | 61 6e 64 20 65 76 65 6e |Finder (|and even|
|000016a0| 20 77 69 74 68 6f 75 74 | 20 4d 75 6c 74 69 46 69 | without| MultiFi|
|000016b0| 6e 64 65 72 2c 20 74 68 | 65 20 56 42 4c 20 63 6f |nder, th|e VBL co|
|000016c0| 75 6c 64 20 74 72 69 67 | 67 65 72 20 61 74 20 61 |uld trig|ger at a|
|000016d0| 20 74 69 6d 65 20 77 68 | 65 6e 20 41 35 20 69 73 | time wh|en A5 is|
|000016e0| 20 6e 6f 74 20 63 6f 72 | 72 65 63 74 29 2e 0d 54 | not cor|rect)..T|
|000016f0| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 73 68 6f |he follo|wing sho|
|00001700| 72 74 20 4d 50 57 20 65 | 78 61 6d 70 6c 65 73 20 |rt MPW e|xamples |
|00001710| 73 68 6f 77 20 68 6f 77 | 20 74 6f 20 64 6f 20 74 |show how| to do t|
|00001720| 68 69 73 20 75 73 69 6e | 67 20 74 68 65 20 6e 65 |his usin|g the ne|
|00001730| 77 20 4d 50 57 20 33 2e | 30 20 63 61 6c 6c 73 20 |w MPW 3.|0 calls |
|00001740| 6d 65 6e 74 69 6f 6e 65 | 64 20 69 6e 20 4d 2e 4f |mentione|d in M.O|
|00001750| 56 2e 41 35 2e 20 20 50 | 6c 65 61 73 65 20 6e 6f |V.A5. P|lease no|
|00001760| 74 65 20 74 68 61 74 20 | 74 68 69 73 20 74 65 63 |te that |this tec|
|00001770| 68 6e 69 71 75 65 20 64 | 6f 65 73 20 6e 6f 74 20 |hnique d|oes not |
|00001780| 69 6e 76 6f 6c 76 65 20 | 77 72 69 74 69 6e 67 20 |involve |writing |
|00001790| 69 6e 74 6f 20 79 6f 75 | 72 20 63 6f 64 65 20 73 |into you|r code s|
|000017a0| 65 67 6d 65 6e 74 20 28 | 77 65 d5 6c 6c 20 67 65 |egment (|we.ll ge|
|000017b0| 74 20 74 6f 20 74 68 61 | 74 20 6c 61 74 65 72 29 |t to tha|t later)|
|000017c0| 2c 20 77 65 20 6a 75 73 | 74 20 70 75 74 20 6f 75 |, we jus|t put ou|
|000017d0| 72 20 76 61 6c 75 65 20 | 6f 66 20 74 68 65 20 61 |r value |of the a|
|000017e0| 70 70 6c 69 63 61 74 69 | 6f 6e d5 73 20 41 35 20 |pplicati|on.s A5 |
|000017f0| 69 6e 20 61 20 6c 6f 63 | 61 74 69 6f 6e 20 77 68 |in a loc|ation wh|
|00001800| 65 72 65 20 77 65 20 63 | 61 6e 20 66 69 6e 64 20 |ere we c|an find |
|00001810| 69 74 20 66 72 6f 6d 20 | 6f 75 72 20 56 42 4c 20 |it from |our VBL |
|00001820| 74 61 73 6b 2e 20 20 4e | 6f 72 20 64 6f 65 73 20 |task. N|or does |
|00001830| 69 74 20 64 65 70 65 6e | 64 20 6f 6e 20 74 68 65 |it depen|d on the|
|00001840| 20 56 42 4c 20 74 61 73 | 6b 20 69 6e 66 6f 72 6d | VBL tas|k inform|
|00001850| 61 74 69 6f 6e 20 62 65 | 69 6e 67 20 61 6c 6c 6f |ation be|ing allo|
|00001860| 63 61 74 65 64 20 67 6c | 6f 62 61 6c 6c 79 2e 20 |cated gl|obally. |
|00001870| 20 54 68 69 73 20 67 69 | 76 65 73 20 79 6f 75 20 | This gi|ves you |
|00001880| 6d 6f 72 65 20 66 6c 65 | 78 69 62 69 6c 69 74 79 |more fle|xibility|
|00001890| 20 73 65 74 74 69 6e 67 | 20 75 70 20 79 6f 75 72 | setting| up your|
|000018a0| 20 56 42 4c 2e 0d 54 68 | 69 73 20 65 78 61 6d 70 | VBL..Th|is examp|
|000018b0| 6c 65 20 61 6c 73 6f 20 | 73 65 72 76 65 73 20 74 |le also |serves t|
|000018c0| 6f 20 64 65 6d 6f 6e 73 | 74 72 61 74 65 20 68 6f |o demons|trate ho|
|000018d0| 77 20 6f 6e 65 20 6d 69 | 67 68 74 20 77 72 69 74 |w one mi|ght writ|
|000018e0| 65 20 61 20 63 6f 6d 70 | 6c 65 74 69 6f 6e 20 72 |e a comp|letion r|
|000018f0| 6f 75 74 69 6e 65 20 66 | 6f 72 20 61 6e 20 61 73 |outine f|or an as|
|00001900| 79 6e 63 68 72 6f 6e 6f | 75 73 20 44 65 76 69 63 |ynchrono|us Devic|
|00001910| 65 20 4d 61 6e 61 67 65 | 72 20 63 61 6c 6c 2e 20 |e Manage|r call. |
|00001920| 20 49 74 20 69 73 20 6e | 6f 74 20 69 6e 74 65 6e | It is n|ot inten|
|00001930| 64 65 64 20 74 6f 20 62 | 65 20 61 20 63 6f 6d 70 |ded to b|e a comp|
|00001940| 6c 65 74 65 20 70 72 6f | 67 72 61 6d 2c 20 6e 6f |lete pro|gram, no|
|00001950| 72 20 74 6f 20 64 65 6d | 6f 6e 73 74 72 61 74 65 |r to dem|onstrate|
|00001960| 20 6f 70 74 69 6d 61 6c | 20 74 65 63 68 6e 69 71 | optimal| techniq|
|00001970| 75 65 73 20 66 6f 72 20 | 64 69 73 70 6c 61 79 69 |ues for |displayi|
|00001980| 6e 67 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 2e 0d |ng infor|mation..|
|00001990| 4d 50 57 20 50 61 73 63 | 61 6c 20 33 2e 30 0d 55 |MPW Pasc|al 3.0.U|
|000019a0| 4e 49 54 09 56 42 4c 53 | 3b 0d 7b 24 52 2d 7d 0d |NIT.VBLS|;.{$R-}.|
|000019b0| 49 4e 54 45 52 46 41 43 | 45 0d 55 53 45 53 0d 09 |INTERFAC|E.USES..|
|000019c0| 44 69 61 6c 6f 67 73 2c | 20 45 76 65 6e 74 73 2c |Dialogs,| Events,|
|000019d0| 20 4f 53 45 76 65 6e 74 | 73 2c 20 52 65 74 72 61 | OSEvent|s, Retra|
|000019e0| 63 65 2c 20 50 61 63 6b | 61 67 65 73 2c 20 54 79 |ce, Pack|ages, Ty|
|000019f0| 70 65 73 2c 20 54 72 61 | 70 73 3b 0d 43 4f 4e 53 |pes, Tra|ps;.CONS|
|00001a00| 54 0d 09 49 6e 74 65 72 | 76 61 6c 20 3d 20 36 3b |T..Inter|val = 6;|
|00001a10| 0d 09 72 49 6e 66 6f 44 | 69 61 6c 6f 67 20 3d 20 |..rInfoD|ialog = |
|00001a20| 31 34 30 3b 0d 09 72 53 | 74 61 74 54 65 78 74 49 |140;..rS|tatTextI|
|00001a30| 74 65 6d 20 3d 20 31 3b | 0d 09 0d 54 59 50 45 0d |tem = 1;|...TYPE.|
|00001a40| 09 7b 20 44 65 66 69 6e | 65 20 61 20 72 65 63 6f |.{ Defin|e a reco|
|00001a50| 72 64 20 74 6f 20 6b 65 | 65 70 20 74 72 61 63 6b |rd to ke|ep track|
|00001a60| 20 6f 66 20 77 68 61 74 | 20 77 65 20 6e 65 65 64 | of what| we need|
|00001a70| 2e 20 20 50 75 74 20 74 | 68 65 56 42 4c 54 61 73 |. Put t|heVBLTas|
|00001a80| 6b 20 69 6e 74 6f 20 74 | 68 65 20 0d 09 72 65 63 |k into t|he ..rec|
|00001a90| 6f 72 64 20 66 69 72 73 | 74 20 62 65 63 61 75 73 |ord firs|t becaus|
|00001aa0| 65 20 69 74 73 20 61 64 | 64 72 65 73 73 20 77 69 |e its ad|dress wi|
|00001ab0| 6c 6c 20 62 65 20 70 61 | 73 73 65 64 20 74 6f 20 |ll be pa|ssed to |
|00001ac0| 6f 75 72 20 56 42 4c 20 | 74 61 73 6b 20 69 6e 20 |our VBL |task in |
|00001ad0| 41 30 2e 20 7d 0d 09 56 | 42 4c 52 65 63 20 3d 20 |A0. }..V|BLRec = |
|00001ae0| 52 45 43 4f 52 44 0d 09 | 09 74 68 65 56 42 4c 54 |RECORD..|.theVBLT|
|00001af0| 61 73 6b 3a 09 56 42 4c | 54 61 73 6b 3b 20 09 09 |ask:.VBL|Task; ..|
|00001b00| 7b 20 74 68 65 20 61 63 | 74 75 61 6c 20 56 42 4c |{ the ac|tual VBL|
|00001b10| 54 61 73 6b 20 7d 0d 09 | 09 56 42 4c 41 35 3a 09 |Task }..|.VBLA5:.|
|00001b20| 09 4c 6f 6e 67 49 6e 74 | 3b 09 09 7b 20 73 61 76 |.LongInt|;..{ sav|
|00001b30| 65 64 20 43 75 72 72 65 | 6e 74 41 35 20 77 68 65 |ed Curre|ntA5 whe|
|00001b40| 72 65 20 77 65 20 63 61 | 6e 20 09 09 09 09 09 09 |re we ca|n ......|
|00001b50| 09 28 20 66 69 6e 64 20 | 69 74 20 7d 0d 09 45 4e |.( find |it }..EN|
|00001b60| 44 3b 0d 09 56 42 4c 52 | 65 63 50 74 72 20 3d 20 |D;..VBLR|ecPtr = |
|00001b70| 5e 56 42 4c 52 65 63 3b | 0d 56 41 52 0d 09 67 43 |^VBLRec;|.VAR..gC|
|00001b80| 6f 75 6e 74 65 72 3a 09 | 4c 6f 6e 67 49 6e 74 3b |ounter:.|LongInt;|
|00001b90| 09 09 09 7b 20 47 6c 6f | 62 61 6c 20 63 6f 75 6e |...{ Glo|bal coun|
|00001ba0| 74 65 72 20 69 6e 63 72 | 65 6d 65 6e 74 65 64 20 |ter incr|emented |
|00001bb0| 62 79 20 09 09 09 09 09 | 09 09 28 20 56 42 4c 20 |by .....|..( VBL |
|00001bc0| 7d 0d 09 0d 50 52 4f 43 | 45 44 55 52 45 20 49 6e |}...PROC|EDURE In|
|00001bd0| 73 74 61 6c 6c 56 42 4c | 3b 0d 49 4d 50 4c 45 4d |stallVBL|;.IMPLEM|
|00001be0| 45 4e 54 41 54 49 4f 4e | 0d 7b 20 47 65 74 56 42 |ENTATION|.{ GetVB|
|00001bf0| 4c 52 65 63 20 72 65 74 | 75 72 6e 73 20 74 68 65 |LRec ret|urns the|
|00001c00| 20 61 64 64 72 65 73 73 | 20 6f 66 20 74 68 65 20 | address| of the |
|00001c10| 56 42 4c 52 65 63 20 61 | 73 73 6f 63 69 61 74 65 |VBLRec a|ssociate|
|00001c20| 64 20 77 69 74 68 20 6f | 75 72 20 56 42 4c 20 74 |d with o|ur VBL t|
|00001c30| 61 73 6b 2e 0d 20 20 54 | 68 69 73 20 77 6f 72 6b |ask.. T|his work|
|00001c40| 73 20 62 65 63 61 75 73 | 65 20 6f 6e 20 65 6e 74 |s becaus|e on ent|
|00001c50| 72 79 20 69 6e 74 6f 20 | 74 68 65 20 56 42 4c 20 |ry into |the VBL |
|00001c60| 74 61 73 6b 2c 20 41 30 | 20 70 6f 69 6e 74 73 20 |task, A0| points |
|00001c70| 74 6f 20 74 68 65 20 74 | 68 65 56 42 4c 54 61 73 |to the t|heVBLTas|
|00001c80| 6b 0d 20 20 66 69 65 6c | 64 20 69 6e 20 74 68 65 |k. fiel|d in the|
|00001c90| 20 56 42 4c 52 65 63 20 | 72 65 63 6f 72 64 2c 20 | VBLRec |record, |
|00001ca0| 77 68 69 63 68 20 69 73 | 20 74 68 65 20 66 69 72 |which is| the fir|
|00001cb0| 73 74 20 66 69 65 6c 64 | 20 69 6e 20 74 68 65 20 |st field| in the |
|00001cc0| 72 65 63 6f 72 64 20 61 | 6e 64 20 74 68 61 74 0d |record a|nd that.|
|00001cd0| 20 20 69 73 20 74 68 65 | 20 61 64 64 72 65 73 73 | is the| address|
|00001ce0| 20 77 65 20 72 65 74 75 | 72 6e 2e 20 20 4e 6f 74 | we retu|rn. Not|
|00001cf0| 65 20 74 68 61 74 20 74 | 68 69 73 20 6d 65 74 68 |e that t|his meth|
|00001d00| 6f 64 20 77 6f 72 6b 73 | 20 77 68 65 74 68 65 72 |od works| whether|
|00001d10| 20 74 68 65 20 56 42 4c | 52 65 63 0d 20 20 69 73 | the VBL|Rec. is|
|00001d20| 20 61 6c 6c 6f 63 61 74 | 65 64 20 67 6c 6f 62 61 | allocat|ed globa|
|00001d30| 6c 6c 79 2c 20 69 6e 20 | 74 68 65 20 68 65 61 70 |lly, in |the heap|
|00001d40| 20 28 61 73 20 6c 6f 6e | 67 20 61 73 20 74 68 65 | (as lon|g as the|
|00001d50| 20 72 65 63 6f 72 64 20 | 69 73 20 6c 6f 63 6b 65 | record |is locke|
|00001d60| 64 20 69 6e 20 0d 20 20 | 6d 65 6d 6f 72 79 29 20 |d in . |memory) |
|00001d70| 6f 72 20 69 66 20 69 74 | 20 69 73 20 61 6c 6c 6f |or if it| is allo|
|00001d80| 63 61 74 65 64 20 6f 6e | 20 74 68 65 20 73 74 61 |cated on| the sta|
|00001d90| 63 6b 20 61 73 20 69 73 | 20 74 68 65 20 63 61 73 |ck as is| the cas|
|00001da0| 65 20 69 6e 20 74 68 69 | 73 20 65 78 61 6d 70 6c |e in thi|s exampl|
|00001db0| 65 2e 0d 20 20 49 6e 20 | 74 68 65 20 6c 61 74 74 |e.. In |the latt|
|00001dc0| 65 72 20 63 61 73 65 20 | 74 68 69 73 20 69 73 20 |er case |this is |
|00001dd0| 4f 4b 20 61 73 20 6c 6f | 6e 67 20 61 73 20 74 68 |OK as lo|ng as th|
|00001de0| 65 20 70 72 6f 63 65 64 | 75 72 65 20 77 68 69 63 |e proced|ure whic|
|00001df0| 68 20 69 6e 73 74 61 6c | 6c 65 64 20 74 68 65 0d |h instal|led the.|
|00001e00| 20 20 74 61 73 6b 20 64 | 6f 65 73 20 6e 6f 74 20 | task d|oes not |
|00001e10| 65 78 69 74 20 77 68 69 | 6c 65 20 74 68 65 20 74 |exit whi|le the t|
|00001e20| 61 73 6b 20 69 73 20 72 | 75 6e 6e 69 6e 67 2e 20 |ask is r|unning. |
|00001e30| 20 54 68 69 73 20 74 72 | 69 63 6b 20 61 6c 6c 6f | This tr|ick allo|
|00001e40| 77 73 20 75 73 20 74 6f | 20 67 65 74 0d 20 20 74 |ws us to| get. t|
|00001e50| 6f 20 74 68 65 20 73 61 | 76 65 64 20 41 35 2c 20 |o the sa|ved A5, |
|00001e60| 62 75 74 20 69 74 20 63 | 6f 75 6c 64 20 61 6c 73 |but it c|ould als|
|00001e70| 6f 20 62 65 20 75 73 65 | 64 20 74 6f 20 67 65 74 |o be use|d to get|
|00001e80| 20 74 6f 20 61 6e 79 74 | 68 69 6e 67 20 77 65 20 | to anyt|hing we |
|00001e90| 77 61 6e 74 65 64 20 74 | 6f 0d 20 20 73 74 6f 72 |wanted t|o. stor|
|00001ea0| 65 20 69 6e 20 74 68 65 | 20 72 65 63 6f 72 64 2e |e in the| record.|
|00001eb0| 20 7d 0d 46 55 4e 43 54 | 49 4f 4e 20 47 65 74 56 | }.FUNCT|ION GetV|
|00001ec0| 42 4c 52 65 63 3a 20 56 | 42 4c 52 65 63 50 74 72 |BLRec: V|BLRecPtr|
|00001ed0| 3b 0d 09 49 4e 4c 49 4e | 45 20 24 32 45 38 38 3b |;..INLIN|E $2E88;|
|00001ee0| 20 09 09 09 7b 20 4d 4f | 56 45 2e 4c 20 41 30 2c | ...{ MO|VE.L A0,|
|00001ef0| 28 41 37 29 20 7d 0d 50 | 52 4f 43 45 44 55 52 45 |(A7) }.P|ROCEDURE|
|00001f00| 20 44 6f 56 42 4c 20 28 | 56 52 50 3a 20 56 42 4c | DoVBL (|VRP: VBL|
|00001f10| 52 65 63 50 74 72 29 3b | 0d 7b 20 44 6f 56 42 4c |RecPtr);|.{ DoVBL|
|00001f20| 20 69 73 20 63 61 6c 6c | 65 64 20 6f 6e 6c 79 20 | is call|ed only |
|00001f30| 62 79 20 53 74 61 72 74 | 56 42 4c 20 7d 0d 42 45 |by Start|VBL }.BE|
|00001f40| 47 49 4e 20 0d 09 67 43 | 6f 75 6e 74 65 72 20 3a |GIN ..gC|ounter :|
|00001f50| 3d 20 67 43 6f 75 6e 74 | 65 72 20 2b 20 31 3b 09 |= gCount|er + 1;.|
|00001f60| 09 09 7b 20 53 68 6f 77 | 20 77 65 20 63 61 6e 20 |..{ Show| we can |
|00001f70| 73 65 74 20 61 20 67 6c | 6f 62 61 6c 20 7d 0d 09 |set a gl|obal }..|
|00001f80| 56 52 50 5e 2e 74 68 65 | 56 42 4c 54 61 73 6b 2e |VRP^.the|VBLTask.|
|00001f90| 76 62 6c 43 6f 75 6e 74 | 20 3a 3d 20 49 6e 74 65 |vblCount| := Inte|
|00001fa0| 72 76 61 6c 3b 20 20 20 | 20 20 20 7b 20 53 65 74 |rval; | { Set|
|00001fb0| 20 6f 75 72 73 65 6c 76 | 65 73 20 74 6f 20 72 75 | ourselv|es to ru|
|00001fc0| 6e 20 61 67 61 69 6e 20 | 7d 0d 45 4e 44 3b 0d 50 |n again |}.END;.P|
|00001fd0| 52 4f 43 45 44 55 52 45 | 20 53 74 61 72 74 56 42 |ROCEDURE| StartVB|
|00001fe0| 4c 3b 0d 7b 20 54 68 69 | 73 20 69 73 20 74 68 65 |L;.{ Thi|s is the|
|00001ff0| 20 61 63 74 75 61 6c 20 | 56 42 4c 20 74 61 73 6b | actual |VBL task|
|00002000| 20 63 6f 64 65 2e 20 20 | 49 74 20 75 73 65 73 20 | code. |It uses |
|00002010| 47 65 74 56 42 4c 52 65 | 63 20 74 6f 20 67 65 74 |GetVBLRe|c to get|
|00002020| 20 6f 75 72 20 56 42 4c | 20 72 65 63 6f 72 64 0d | our VBL| record.|
|00002030| 20 20 61 6e 64 20 70 72 | 6f 70 65 72 6c 79 20 73 | and pr|operly s|
|00002040| 65 74 20 75 70 20 41 35 | 2e 20 20 48 61 76 69 6e |et up A5|. Havin|
|00002050| 67 20 64 6f 6e 65 20 74 | 68 61 74 2c 20 69 74 20 |g done t|hat, it |
|00002060| 63 61 6c 6c 73 20 44 6f | 56 42 4c 20 74 6f 20 69 |calls Do|VBL to i|
|00002070| 6e 63 72 65 6d 65 6e 74 | 20 61 0d 20 20 67 6c 6f |ncrement| a. glo|
|00002080| 62 61 6c 20 63 6f 75 6e | 74 65 72 20 61 6e 64 20 |bal coun|ter and |
|00002090| 73 65 74 73 20 69 74 73 | 65 6c 66 20 74 6f 20 72 |sets its|elf to r|
|000020a0| 75 6e 20 61 67 61 69 6e | 2e 20 20 42 65 63 61 75 |un again|. Becau|
|000020b0| 73 65 20 6f 66 20 74 68 | 65 20 76 61 67 61 72 69 |se of th|e vagari|
|000020c0| 65 73 20 6f 66 0d 20 20 | 4d 50 57 20 43 20 33 2e |es of. |MPW C 3.|
|000020d0| 30 20 6f 70 74 69 6d 69 | 7a 61 74 69 6f 6e 2c 20 |0 optimi|zation, |
|000020e0| 69 74 20 63 61 6c 6c 73 | 20 61 20 73 65 70 61 72 |it calls| a separ|
|000020f0| 61 74 65 20 72 6f 75 74 | 69 6e 65 20 74 6f 20 61 |ate rout|ine to a|
|00002100| 63 74 75 61 6c 6c 79 20 | 61 63 63 65 73 73 0d 20 |ctually |access. |
|00002110| 20 67 6c 6f 62 61 6c 20 | 76 61 72 69 61 62 6c 65 | global |variable|
|00002120| 73 2e 20 20 53 65 65 20 | 4d 2e 4f 56 2e 41 35 20 |s. See |M.OV.A5 |
|00002130| 66 6f 72 20 74 68 65 20 | 72 65 61 73 6f 6e 73 20 |for the |reasons |
|00002140| 66 6f 72 20 74 68 69 73 | 2c 20 61 73 20 77 65 6c |for this|, as wel|
|00002150| 6c 0d 20 20 61 73 20 66 | 6f 72 20 61 20 64 65 73 |l. as f|or a des|
|00002160| 63 72 69 70 74 69 6f 6e | 20 6f 66 20 53 65 74 41 |cription| of SetA|
|00002170| 35 2e 20 7d 0d 56 41 52 | 0d 09 63 75 72 41 35 3a |5. }.VAR|..curA5:|
|00002180| 20 09 09 4c 6f 6e 67 49 | 6e 74 3b 0d 09 72 65 63 | ..LongI|nt;..rec|
|00002190| 50 74 72 3a 09 09 56 42 | 4c 52 65 63 50 74 72 3b |Ptr:..VB|LRecPtr;|
|000021a0| 0d 42 45 47 49 4e 20 0d | 09 72 65 63 50 74 72 20 |.BEGIN .|.recPtr |
|000021b0| 3a 3d 20 47 65 74 56 42 | 4c 52 65 63 3b 09 09 09 |:= GetVB|LRec;...|
|000021c0| 09 7b 20 46 69 72 73 74 | 20 67 65 74 20 6f 75 72 |.{ First| get our|
|000021d0| 20 72 65 63 6f 72 64 20 | 7d 0d 09 63 75 72 41 35 | record |}..curA5|
|000021e0| 3a 3d 20 53 65 74 41 35 | 28 72 65 63 50 74 72 5e |:= SetA5|(recPtr^|
|000021f0| 2e 56 42 4c 41 35 29 3b | 09 09 7b 20 47 65 74 20 |.VBLA5);|..{ Get |
|00002200| 6f 75 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 27 |our appl|ication'|
|00002210| 73 20 41 35 20 7d 0d 09 | 09 09 09 09 09 09 7b 20 |s A5 }..|......{ |
|00002220| 4e 6f 77 20 77 65 20 63 | 61 6e 20 61 63 63 65 73 |Now we c|an acces|
|00002230| 73 20 67 6c 6f 62 61 6c | 73 20 7d 0d 09 44 6f 56 |s global|s }..DoV|
|00002240| 42 4c 20 28 72 65 63 50 | 74 72 29 3b 09 09 09 09 |BL (recP|tr);....|
|00002250| 7b 20 43 61 6c 6c 20 61 | 6e 6f 74 68 65 72 20 72 |{ Call a|nother r|
|00002260| 6f 75 74 69 6e 65 20 66 | 6f 72 20 61 63 74 75 61 |outine f|or actua|
|00002270| 6c 20 09 09 09 09 09 09 | 09 28 20 77 6f 72 6b 7d |l ......|.( work}|
|00002280| 0d 09 0d 09 63 75 72 41 | 35 3a 3d 20 53 65 74 41 |....curA|5:= SetA|
|00002290| 35 28 63 75 72 41 35 29 | 3b 09 09 09 7b 20 72 65 |5(curA5)|;...{ re|
|000022a0| 73 74 6f 72 65 20 6f 72 | 69 67 69 6e 61 6c 20 41 |store or|iginal A|
|000022b0| 35 2c 20 69 67 6e 6f 72 | 69 6e 67 20 09 09 09 09 |5, ignor|ing ....|
|000022c0| 09 09 09 28 20 72 65 73 | 75 6c 74 20 7d 0d 45 4e |...( res|ult }.EN|
|000022d0| 44 3b 0d 50 52 4f 43 45 | 44 55 52 45 20 49 6e 73 |D;.PROCE|DURE Ins|
|000022e0| 74 61 6c 6c 56 42 4c 3b | 0d 7b 20 49 6e 73 74 61 |tallVBL;|.{ Insta|
|000022f0| 6c 6c 56 42 4c 20 63 72 | 65 61 74 65 73 20 61 20 |llVBL cr|eates a |
|00002300| 64 69 61 6c 6f 67 20 6a | 75 73 74 20 74 6f 20 64 |dialog j|ust to d|
|00002310| 65 6d 6f 6e 73 74 72 61 | 74 65 20 74 68 61 74 20 |emonstra|te that |
|00002320| 74 68 65 20 67 6c 6f 62 | 61 6c 20 76 61 72 69 61 |the glob|al varia|
|00002330| 62 6c 65 0d 20 20 69 73 | 20 62 65 69 6e 67 20 75 |ble. is| being u|
|00002340| 70 64 61 74 65 64 20 62 | 79 20 74 68 65 20 56 42 |pdated b|y the VB|
|00002350| 4c 20 54 61 73 6b 2e 20 | 20 42 65 66 6f 72 65 20 |L Task. | Before |
|00002360| 69 6e 73 74 61 6c 6c 69 | 6e 67 20 74 68 65 20 56 |installi|ng the V|
|00002370| 42 4c 2c 20 77 65 20 73 | 74 6f 72 65 0d 20 20 6f |BL, we s|tore. o|
|00002380| 75 72 20 41 35 20 69 6e | 20 74 68 65 20 61 63 74 |ur A5 in| the act|
|00002390| 75 61 6c 20 56 42 4c 20 | 54 61 73 6b 20 72 65 63 |ual VBL |Task rec|
|000023a0| 6f 72 64 2c 20 75 73 69 | 6e 67 20 53 65 74 43 75 |ord, usi|ng SetCu|
|000023b0| 72 72 65 6e 74 41 35 20 | 64 65 73 63 72 69 62 65 |rrentA5 |describe|
|000023c0| 64 20 69 6e 0d 20 20 4d | 2e 4f 56 2e 41 35 2e 20 |d in. M|.OV.A5. |
|000023d0| 20 57 65 27 6c 6c 20 72 | 75 6e 20 74 68 65 20 56 | We'll r|un the V|
|000023e0| 42 4c 2c 20 73 68 6f 77 | 69 6e 67 20 74 68 65 20 |BL, show|ing the |
|000023f0| 63 6f 75 6e 74 65 72 20 | 62 65 69 6e 67 20 69 6e |counter |being in|
|00002400| 63 72 65 6d 65 6e 74 65 | 64 2c 0d 20 20 75 6e 74 |cremente|d,. unt|
|00002410| 69 6c 20 74 68 65 20 6d | 6f 75 73 65 20 62 75 74 |il the m|ouse but|
|00002420| 74 6f 6e 20 69 73 20 63 | 6c 69 63 6b 65 64 2e 20 |ton is c|licked. |
|00002430| 20 54 68 65 6e 20 77 65 | 20 72 65 6d 6f 76 65 20 | Then we| remove |
|00002440| 74 68 65 20 56 42 4c 20 | 54 61 73 6b 2c 20 63 6c |the VBL |Task, cl|
|00002450| 6f 73 65 20 74 68 65 0d | 20 20 64 69 61 6c 6f 67 |ose the.| dialog|
|00002460| 2c 20 61 6e 64 20 72 65 | 6d 6f 76 65 20 74 68 65 |, and re|move the|
|00002470| 20 6d 6f 75 73 65 20 64 | 6f 77 6e 20 65 76 65 6e | mouse d|own even|
|00002480| 74 73 20 74 6f 20 70 72 | 65 76 65 6e 74 20 74 68 |ts to pr|event th|
|00002490| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 66 72 |e applic|ation fr|
|000024a0| 6f 6d 0d 20 20 62 65 69 | 6e 67 20 69 6e 61 64 76 |om. bei|ng inadv|
|000024b0| 65 72 74 65 6e 74 6c 79 | 20 73 77 69 74 63 68 65 |ertently| switche|
|000024c0| 64 20 62 79 20 4d 75 6c | 74 69 46 69 6e 64 65 72 |d by Mul|tiFinder|
|000024d0| 2e 20 7d 0d 56 41 52 0d | 09 74 68 65 56 42 4c 52 |. }.VAR.|.theVBLR|
|000024e0| 65 63 3a 09 09 56 42 4c | 52 65 63 3b 0d 09 69 6e |ec:..VBL|Rec;..in|
|000024f0| 66 6f 44 50 74 72 3a 20 | 09 09 44 69 61 6c 6f 67 |foDPtr: |..Dialog|
|00002500| 50 74 72 3b 0d 09 69 6e | 66 6f 44 53 74 6f 72 61 |Ptr;..in|foDStora|
|00002510| 67 65 3a 20 09 44 69 61 | 6c 6f 67 52 65 63 6f 72 |ge: .Dia|logRecor|
|00002520| 64 3b 0d 09 6e 75 6d 53 | 74 72 3a 09 09 53 74 72 |d;..numS|tr:..Str|
|00002530| 32 35 35 3b 0d 09 74 68 | 65 45 72 72 3a 09 09 4f |255;..th|eErr:..O|
|00002540| 53 45 72 72 3b 0d 09 74 | 68 65 49 74 65 6d 48 61 |SErr;..t|heItemHa|
|00002550| 6e 64 6c 65 3a 09 48 61 | 6e 64 6c 65 3b 0d 09 74 |ndle:.Ha|ndle;..t|
|00002560| 68 65 49 74 65 6d 54 79 | 70 65 3a 09 09 49 4e 54 |heItemTy|pe:..INT|
|00002570| 45 47 45 52 3b 0d 09 74 | 68 65 52 65 63 74 3a 09 |EGER;..t|heRect:.|
|00002580| 09 52 65 63 74 3b 0d 42 | 45 47 49 4e 0d 09 67 43 |.Rect;.B|EGIN..gC|
|00002590| 6f 75 6e 74 65 72 3a 3d | 20 30 3b 09 09 09 09 7b |ounter:=| 0;....{|
|000025a0| 20 69 6e 69 74 69 61 6c | 69 7a 65 20 74 68 65 20 | initial|ize the |
|000025b0| 67 6c 6f 62 61 6c 20 76 | 61 72 69 61 62 6c 65 20 |global v|ariable |
|000025c0| 7d 0d 09 69 6e 66 6f 44 | 50 74 72 3a 3d 20 47 65 |}..infoD|Ptr:= Ge|
|000025d0| 74 4e 65 77 44 69 61 6c | 6f 67 28 72 49 6e 66 6f |tNewDial|og(rInfo|
|000025e0| 44 69 61 6c 6f 67 2c 20 | 40 69 6e 66 6f 44 53 74 |Dialog, |@infoDSt|
|000025f0| 6f 72 61 67 65 2c 20 50 | 6f 69 6e 74 65 72 28 2d |orage, P|ointer(-|
|00002600| 31 29 29 3b 0d 09 44 72 | 61 77 44 69 61 6c 6f 67 |1));..Dr|awDialog|
|00002610| 28 69 6e 66 6f 44 50 74 | 72 29 3b 20 0d 09 47 65 |(infoDPt|r); ..Ge|
|00002620| 74 44 49 74 65 6d 28 69 | 6e 66 6f 44 50 74 72 2c |tDItem(i|nfoDPtr,|
|00002630| 20 72 53 74 61 74 54 65 | 78 74 49 74 65 6d 2c 20 | rStatTe|xtItem, |
|00002640| 74 68 65 49 74 65 6d 54 | 79 70 65 2c 20 74 68 65 |theItemT|ype, the|
|00002650| 49 74 65 6d 48 61 6e 64 | 6c 65 2c 20 74 68 65 52 |ItemHand|le, theR|
|00002660| 65 63 74 29 3b 0d 09 74 | 68 65 56 42 4c 52 65 63 |ect);..t|heVBLRec|
|00002670| 2e 56 42 4c 41 35 3a 3d | 20 53 65 74 43 75 72 72 |.VBLA5:=| SetCurr|
|00002680| 65 6e 74 41 35 3b 09 7b | 20 67 65 74 20 6f 75 72 |entA5;.{| get our|
|00002690| 20 41 35 20 7d 09 0d 09 | 57 49 54 48 20 74 68 65 | A5 }...|WITH the|
|000026a0| 56 42 4c 52 65 63 2e 74 | 68 65 56 42 4c 54 61 73 |VBLRec.t|heVBLTas|
|000026b0| 6b 20 44 4f 0d 09 09 42 | 45 47 49 4e 0d 09 09 09 |k DO...B|EGIN....|
|000026c0| 76 62 6c 41 64 64 72 3a | 3d 20 40 53 74 61 72 74 |vblAddr:|= @Start|
|000026d0| 56 42 4c 3b 09 7b 20 70 | 6f 69 6e 74 65 72 20 74 |VBL;.{ p|ointer t|
|000026e0| 6f 20 56 42 4c 20 63 6f | 64 65 20 7d 0d 09 09 09 |o VBL co|de }....|
|000026f0| 76 62 6c 43 6f 75 6e 74 | 3a 3d 20 49 6e 74 65 72 |vblCount|:= Inter|
|00002700| 76 61 6c 3b 09 7b 20 66 | 72 65 71 75 65 6e 63 79 |val;.{ f|requency|
|00002710| 20 6f 66 20 56 42 4c 20 | 69 6e 20 53 79 73 74 65 | of VBL |in Syste|
|00002720| 6d 20 74 69 63 6b 73 20 | 7d 0d 09 09 09 71 54 79 |m ticks |}....qTy|
|00002730| 70 65 3a 3d 20 4f 52 44 | 28 76 54 79 70 65 29 3b |pe:= ORD|(vType);|
|00002740| 09 7b 20 71 45 6c 65 6d | 65 6e 74 20 69 73 20 61 |.{ qElem|ent is a|
|00002750| 20 56 42 4c 20 74 79 70 | 65 20 7d 0d 09 09 09 76 | VBL typ|e }....v|
|00002760| 62 6c 50 68 61 73 65 3a | 3d 20 30 3b 09 09 7b 20 |blPhase:|= 0;..{ |
|00002770| 6e 6f 20 70 68 61 73 65 | 73 20 7d 0d 09 09 45 4e |no phase|s }...EN|
|00002780| 44 3b 0d 09 09 0d 09 74 | 68 65 45 72 72 3a 3d 20 |D;.....t|heErr:= |
|00002790| 56 49 6e 73 74 61 6c 6c | 28 40 74 68 65 56 42 4c |VInstall|(@theVBL|
|000027a0| 52 65 63 2e 74 68 65 56 | 42 4c 54 61 73 6b 29 3b |Rec.theV|BLTask);|
|000027b0| 09 7b 20 69 6e 73 74 61 | 6c 6c 20 74 68 69 73 20 |.{ insta|ll this |
|000027c0| 56 42 4c 20 74 61 73 6b | 20 7d 0d 09 49 46 20 74 |VBL task| }..IF t|
|000027d0| 68 65 45 72 72 20 3d 20 | 6e 6f 45 72 72 20 54 48 |heErr = |noErr TH|
|000027e0| 45 4e 09 09 09 7b 20 77 | 65 27 6c 6c 20 73 68 6f |EN...{ w|e'll sho|
|000027f0| 77 20 74 68 65 20 67 6c | 6f 62 61 6c 20 76 61 6c |w the gl|obal val|
|00002800| 75 65 20 69 6e 20 7d 0d | 09 09 42 45 47 49 4e 09 |ue in }.|..BEGIN.|
|00002810| 09 09 09 09 7b 20 74 68 | 65 20 64 69 61 6c 6f 67 |....{ th|e dialog|
|00002820| 20 75 6e 74 69 6c 20 61 | 20 6d 6f 75 73 65 20 63 | until a| mouse c|
|00002830| 6c 69 63 6b 20 7d 0d 09 | 09 09 52 45 50 45 41 54 |lick }..|..REPEAT|
|00002840| 0d 09 09 09 09 4e 75 6d | 54 6f 53 74 72 69 6e 67 |.....Num|ToString|
|00002850| 28 67 43 6f 75 6e 74 65 | 72 2c 20 6e 75 6d 53 74 |(gCounte|r, numSt|
|00002860| 72 29 3b 0d 09 09 09 09 | 53 65 74 49 54 65 78 74 |r);.....|SetIText|
|00002870| 28 74 68 65 49 74 65 6d | 48 61 6e 64 6c 65 2c 20 |(theItem|Handle, |
|00002880| 6e 75 6d 53 74 72 29 3b | 0d 09 09 09 55 4e 54 49 |numStr);|....UNTI|
|00002890| 4c 20 42 75 74 74 6f 6e | 3b 0d 09 09 74 68 65 45 |L Button|;...theE|
|000028a0| 72 72 3a 3d 20 56 52 65 | 6d 6f 76 65 28 40 74 68 |rr:= VRe|move(@th|
|000028b0| 65 56 42 4c 52 65 63 2e | 74 68 65 56 42 4c 54 61 |eVBLRec.|theVBLTa|
|000028c0| 73 6b 29 3b 20 7b 20 72 | 65 6d 6f 76 65 20 74 68 |sk); { r|emove th|
|000028d0| 65 20 56 42 4c 20 74 61 | 73 6b 20 7d 0d 09 09 45 |e VBL ta|sk }...E|
|000028e0| 4e 44 3b 0d 09 0d 09 43 | 6c 6f 73 65 44 69 61 6c |ND;....C|loseDial|
|000028f0| 6f 67 28 69 6e 66 6f 44 | 50 74 72 29 3b 09 09 09 |og(infoD|Ptr);...|
|00002900| 7b 20 67 65 74 20 72 69 | 64 20 6f 66 20 74 68 65 |{ get ri|d of the|
|00002910| 20 69 6e 66 6f 20 64 69 | 61 6c 6f 67 20 7d 0d 09 | info di|alog }..|
|00002920| 46 6c 75 73 68 45 76 65 | 6e 74 73 28 6d 44 6f 77 |FlushEve|nts(mDow|
|00002930| 6e 4d 61 73 6b 2c 20 30 | 29 3b 09 09 09 7b 20 72 |nMask, 0|);...{ r|
|00002940| 65 6d 6f 76 65 20 61 6c | 6c 20 6d 6f 75 73 65 20 |emove al|l mouse |
|00002950| 64 6f 77 6e 20 65 76 65 | 6e 74 73 20 7d 0d 45 4e |down eve|nts }.EN|
|00002960| 44 3b 0d 45 4e 44 2e 0d | 4d 50 57 20 43 20 33 2e |D;.END..|MPW C 3.|
|00002970| 30 0d 23 69 6e 63 6c 75 | 64 65 20 3c 45 76 65 6e |0.#inclu|de <Even|
|00002980| 74 73 2e 68 3e 0d 23 69 | 6e 63 6c 75 64 65 20 3c |ts.h>.#i|nclude <|
|00002990| 4f 53 45 76 65 6e 74 73 | 2e 68 3e 0d 23 69 6e 63 |OSEvents|.h>.#inc|
|000029a0| 6c 75 64 65 20 3c 4f 53 | 55 74 69 6c 73 2e 68 3e |lude <OS|Utils.h>|
|000029b0| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 44 69 61 6c 6f |.#includ|e <Dialo|
|000029c0| 67 73 2e 68 3e 0d 23 69 | 6e 63 6c 75 64 65 20 3c |gs.h>.#i|nclude <|
|000029d0| 50 61 63 6b 61 67 65 73 | 2e 68 3e 0d 23 69 6e 63 |Packages|.h>.#inc|
|000029e0| 6c 75 64 65 20 3c 52 65 | 74 72 61 63 65 2e 68 3e |lude <Re|trace.h>|
|000029f0| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 54 72 61 70 73 |.#includ|e <Traps|
|00002a00| 2e 68 3e 0d 23 64 65 66 | 69 6e 65 20 49 4e 54 45 |.h>.#def|ine INTE|
|00002a10| 52 56 41 4c 09 09 36 0d | 23 64 65 66 69 6e 65 20 |RVAL..6.|#define |
|00002a20| 72 49 6e 66 6f 44 69 61 | 6c 6f 67 09 09 31 34 30 |rInfoDia|log..140|
|00002a30| 0d 23 64 65 66 69 6e 65 | 20 72 53 74 61 74 54 65 |.#define| rStatTe|
|00002a40| 78 74 49 74 65 6d 09 31 | 0d 2f 2a 0d 20 2a 20 20 |xtItem.1|./*. * |
|00002a50| 54 68 65 73 65 20 61 72 | 65 20 67 6c 6f 62 61 6c |These ar|e global|
|00002a60| 73 20 77 68 69 63 68 20 | 77 69 6c 6c 20 62 65 20 |s which |will be |
|00002a70| 72 65 66 65 72 65 6e 63 | 65 64 20 66 72 6f 6d 20 |referenc|ed from |
|00002a80| 6f 75 72 20 56 42 4c 20 | 54 61 73 6b 0d 20 2a 2f |our VBL |Task. */|
|00002a90| 0d 6c 6f 6e 67 09 67 43 | 6f 75 6e 74 65 72 3b 09 |.long.gC|ounter;.|
|00002aa0| 09 2f 2a 20 43 6f 75 6e | 74 65 72 20 69 6e 63 72 |./* Coun|ter incr|
|00002ab0| 65 6d 65 6e 74 65 64 20 | 65 61 63 68 20 74 69 6d |emented |each tim|
|00002ac0| 65 20 6f 75 72 20 56 42 | 4c 20 67 65 74 73 20 63 |e our VB|L gets c|
|00002ad0| 61 6c 6c 65 64 20 2a 2f | 0d 2f 2a 0d 20 2a 20 20 |alled */|./*. * |
|00002ae0| 44 65 66 69 6e 65 20 61 | 20 73 74 72 75 63 74 20 |Define a| struct |
|00002af0| 74 6f 20 6b 65 65 70 20 | 74 72 61 63 6b 20 6f 66 |to keep |track of|
|00002b00| 20 77 68 61 74 20 77 65 | 20 6e 65 65 64 2e 20 20 | what we| need. |
|00002b10| 50 75 74 20 74 68 65 56 | 42 4c 54 61 73 6b 20 69 |Put theV|BLTask i|
|00002b20| 6e 74 6f 20 74 68 65 20 | 0d 20 2a 20 20 73 74 72 |nto the |. * str|
|00002b30| 75 63 74 20 66 69 72 73 | 74 20 62 65 63 61 75 73 |uct firs|t becaus|
|00002b40| 65 20 69 74 73 20 61 64 | 64 72 65 73 73 20 77 69 |e its ad|dress wi|
|00002b50| 6c 6c 20 62 65 20 70 61 | 73 73 65 64 20 74 6f 20 |ll be pa|ssed to |
|00002b60| 6f 75 72 20 56 42 4c 20 | 74 61 73 6b 20 69 6e 20 |our VBL |task in |
|00002b70| 41 30 0d 20 2a 2f 0d 73 | 74 72 75 63 74 20 56 42 |A0. */.s|truct VB|
|00002b80| 4c 52 65 63 20 7b 0d 09 | 56 42 4c 54 61 73 6b 09 |LRec {..|VBLTask.|
|00002b90| 74 68 65 56 42 4c 54 61 | 73 6b 3b 09 2f 2a 20 74 |theVBLTa|sk;./* t|
|00002ba0| 68 65 20 56 42 4c 20 74 | 61 73 6b 20 69 74 73 65 |he VBL t|ask itse|
|00002bb0| 6c 66 20 2a 2f 0d 09 6c | 6f 6e 67 09 09 56 42 4c |lf */..l|ong..VBL|
|00002bc0| 41 35 3b 09 09 2f 2a 20 | 73 61 76 65 64 20 43 75 |A5;../* |saved Cu|
|00002bd0| 72 72 65 6e 74 41 35 20 | 77 68 65 72 65 20 77 65 |rrentA5 |where we|
|00002be0| 20 63 61 6e 20 66 69 6e | 64 20 69 74 20 2a 2f 0d | can fin|d it */.|
|00002bf0| 7d 3b 0d 74 79 70 65 64 | 65 66 20 73 74 72 75 63 |};.typed|ef struc|
|00002c00| 74 20 56 42 4c 52 65 63 | 20 56 42 4c 52 65 63 2c |t VBLRec| VBLRec,|
|00002c10| 20 2a 56 42 4c 52 65 63 | 50 74 72 3b 0d 2f 2a 0d | *VBLRec|Ptr;./*.|
|00002c20| 20 2a 09 47 65 74 56 42 | 4c 52 65 63 20 72 65 74 | *.GetVB|LRec ret|
|00002c30| 75 72 6e 73 20 74 68 65 | 20 61 64 64 72 65 73 73 |urns the| address|
|00002c40| 20 6f 66 20 74 68 65 20 | 56 42 4c 52 65 63 20 61 | of the |VBLRec a|
|00002c50| 73 73 6f 63 69 61 74 65 | 64 20 77 69 74 68 20 6f |ssociate|d with o|
|00002c60| 75 72 20 56 42 4c 20 74 | 61 73 6b 2e 0d 20 2a 20 |ur VBL t|ask.. * |
|00002c70| 20 54 68 69 73 20 77 6f | 72 6b 73 20 62 65 63 61 | This wo|rks beca|
|00002c80| 75 73 65 20 6f 6e 20 65 | 6e 74 72 79 20 69 6e 74 |use on e|ntry int|
|00002c90| 6f 20 74 68 65 20 56 42 | 4c 20 74 61 73 6b 2c 20 |o the VB|L task, |
|00002ca0| 41 30 20 70 6f 69 6e 74 | 73 20 74 6f 20 74 68 65 |A0 point|s to the|
|00002cb0| 20 74 68 65 56 42 4c 54 | 61 73 6b 0d 20 2a 20 20 | theVBLT|ask. * |
|00002cc0| 66 69 65 6c 64 20 69 6e | 20 74 68 65 20 56 42 4c |field in| the VBL|
|00002cd0| 52 65 63 20 72 65 63 6f | 72 64 2c 20 77 68 69 63 |Rec reco|rd, whic|
|00002ce0| 68 20 69 73 20 74 68 65 | 20 66 69 72 73 74 20 66 |h is the| first f|
|00002cf0| 69 65 6c 64 20 69 6e 20 | 74 68 65 20 72 65 63 6f |ield in |the reco|
|00002d00| 72 64 20 61 6e 64 20 74 | 68 61 74 0d 20 2a 20 20 |rd and t|hat. * |
|00002d10| 69 73 20 74 68 65 20 61 | 64 64 72 65 73 73 20 77 |is the a|ddress w|
|00002d20| 65 20 72 65 74 75 72 6e | 2e 20 20 4e 6f 74 65 20 |e return|. Note |
|00002d30| 74 68 61 74 20 74 68 69 | 73 20 6d 65 74 68 6f 64 |that thi|s method|
|00002d40| 20 77 6f 72 6b 73 20 77 | 68 65 74 68 65 72 20 74 | works w|hether t|
|00002d50| 68 65 20 56 42 4c 52 65 | 63 0d 20 2a 20 20 69 73 |he VBLRe|c. * is|
|00002d60| 20 61 6c 6c 6f 63 61 74 | 65 64 20 67 6c 6f 62 61 | allocat|ed globa|
|00002d70| 6c 6c 79 2c 20 69 6e 20 | 74 68 65 20 68 65 61 70 |lly, in |the heap|
|00002d80| 20 28 61 73 20 6c 6f 6e | 67 20 61 73 20 74 68 65 | (as lon|g as the|
|00002d90| 20 72 65 63 6f 72 64 20 | 69 73 20 6c 6f 63 6b 65 | record |is locke|
|00002da0| 64 20 69 6e 20 0d 20 2a | 20 20 6d 65 6d 6f 72 79 |d in . *| memory|
|00002db0| 29 20 6f 72 20 69 66 20 | 69 74 20 69 73 20 61 6c |) or if |it is al|
|00002dc0| 6c 6f 63 61 74 65 64 20 | 6f 6e 20 74 68 65 20 73 |located |on the s|
|00002dd0| 74 61 63 6b 20 61 73 20 | 69 73 20 74 68 65 20 63 |tack as |is the c|
|00002de0| 61 73 65 20 69 6e 20 74 | 68 69 73 20 65 78 61 6d |ase in t|his exam|
|00002df0| 70 6c 65 2e 0d 20 2a 20 | 20 49 6e 20 74 68 65 20 |ple.. * | In the |
|00002e00| 6c 61 74 74 65 72 20 63 | 61 73 65 20 74 68 69 73 |latter c|ase this|
|00002e10| 20 69 73 20 4f 4b 20 61 | 73 20 6c 6f 6e 67 20 61 | is OK a|s long a|
|00002e20| 73 20 74 68 65 20 70 72 | 6f 63 65 64 75 72 65 20 |s the pr|ocedure |
|00002e30| 77 68 69 63 68 20 69 6e | 73 74 61 6c 6c 65 64 20 |which in|stalled |
|00002e40| 74 68 65 0d 20 2a 20 20 | 74 61 73 6b 20 64 6f 65 |the. * |task doe|
|00002e50| 73 20 6e 6f 74 20 65 78 | 69 74 20 77 68 69 6c 65 |s not ex|it while|
|00002e60| 20 74 68 65 20 74 61 73 | 6b 20 69 73 20 72 75 6e | the tas|k is run|
|00002e70| 6e 69 6e 67 2e 20 20 54 | 68 69 73 20 74 72 69 63 |ning. T|his tric|
|00002e80| 6b 20 61 6c 6c 6f 77 73 | 20 75 73 20 74 6f 20 67 |k allows| us to g|
|00002e90| 65 74 0d 20 2a 20 20 74 | 6f 20 74 68 65 20 73 61 |et. * t|o the sa|
|00002ea0| 76 65 64 20 41 35 2c 20 | 62 75 74 20 69 74 20 63 |ved A5, |but it c|
|00002eb0| 6f 75 6c 64 20 61 6c 73 | 6f 20 62 65 20 75 73 65 |ould als|o be use|
|00002ec0| 64 20 74 6f 20 67 65 74 | 20 74 6f 20 61 6e 79 74 |d to get| to anyt|
|00002ed0| 68 69 6e 67 20 77 65 20 | 77 61 6e 74 65 64 20 74 |hing we |wanted t|
|00002ee0| 6f 0d 20 2a 20 20 73 74 | 6f 72 65 20 69 6e 20 74 |o. * st|ore in t|
|00002ef0| 68 65 20 72 65 63 6f 72 | 64 2e 0d 20 20 2a 2f 0d |he recor|d.. */.|
|00002f00| 56 42 4c 52 65 63 50 74 | 72 20 47 65 74 56 42 4c |VBLRecPt|r GetVBL|
|00002f10| 52 65 63 20 28 29 0d 09 | 3d 20 30 78 32 30 30 38 |Rec ()..|= 0x2008|
|00002f20| 3b 09 09 09 2f 2a 20 4d | 4f 56 45 2e 4c 09 41 30 |;.../* M|OVE.L.A0|
|00002f30| 2c 44 30 20 2a 2f 0d 2f | 2a 0d 20 2a 20 20 44 6f |,D0 */./|*. * Do|
|00002f40| 56 42 4c 20 69 73 20 63 | 61 6c 6c 65 64 20 6f 6e |VBL is c|alled on|
|00002f50| 6c 79 20 62 79 20 53 74 | 61 72 74 56 42 4c 20 28 |ly by St|artVBL (|
|00002f60| 29 0d 20 2a 2f 0d 76 6f | 69 64 20 44 6f 56 42 4c |). */.vo|id DoVBL|
|00002f70| 20 28 56 52 50 29 0d 56 | 42 4c 52 65 63 50 74 72 | (VRP).V|BLRecPtr|
|00002f80| 09 56 52 50 3b 0d 7b 0d | 09 67 43 6f 75 6e 74 65 |.VRP;.{.|.gCounte|
|00002f90| 72 2b 2b 3b 09 09 09 09 | 09 2f 2a 20 53 68 6f 77 |r++;....|./* Show|
|00002fa0| 20 77 65 20 63 61 6e 20 | 73 65 74 20 61 20 67 6c | we can |set a gl|
|00002fb0| 6f 62 61 6c 20 2a 2f 0d | 09 56 52 50 2d 3e 74 68 |obal */.|.VRP->th|
|00002fc0| 65 56 42 4c 54 61 73 6b | 2e 76 62 6c 43 6f 75 6e |eVBLTask|.vblCoun|
|00002fd0| 74 20 3d 20 49 4e 54 45 | 52 56 41 4c 3b 09 2f 2a |t = INTE|RVAL;./*|
|00002fe0| 20 53 65 74 20 6f 75 72 | 73 65 6c 76 65 73 20 74 | Set our|selves t|
|00002ff0| 6f 20 72 75 6e 20 61 67 | 61 69 6e 20 2a 2f 0d 7d |o run ag|ain */.}|
|00003000| 0d 2f 2a 0d 20 2a 20 20 | 54 68 69 73 20 69 73 20 |./*. * |This is |
|00003010| 74 68 65 20 61 63 74 75 | 61 6c 20 56 42 4c 20 74 |the actu|al VBL t|
|00003020| 61 73 6b 20 63 6f 64 65 | 2e 20 20 49 74 20 75 73 |ask code|. It us|
|00003030| 65 73 20 47 65 74 56 42 | 4c 52 65 63 20 74 6f 20 |es GetVB|LRec to |
|00003040| 67 65 74 20 6f 75 72 20 | 56 42 4c 20 72 65 63 6f |get our |VBL reco|
|00003050| 72 64 0d 20 2a 20 20 61 | 6e 64 20 70 72 6f 70 65 |rd. * a|nd prope|
|00003060| 72 6c 79 20 73 65 74 20 | 75 70 20 41 35 2e 20 20 |rly set |up A5. |
|00003070| 48 61 76 69 6e 67 20 64 | 6f 6e 65 20 74 68 61 74 |Having d|one that|
|00003080| 2c 20 69 74 20 63 61 6c | 6c 73 20 44 6f 56 42 4c |, it cal|ls DoVBL|
|00003090| 20 74 6f 20 69 6e 63 72 | 65 6d 65 6e 74 20 61 0d | to incr|ement a.|
|000030a0| 20 2a 20 20 67 6c 6f 62 | 61 6c 20 63 6f 75 6e 74 | * glob|al count|
|000030b0| 65 72 20 61 6e 64 20 73 | 65 74 73 20 69 74 73 65 |er and s|ets itse|
|000030c0| 6c 66 20 74 6f 20 72 75 | 6e 20 61 67 61 69 6e 2e |lf to ru|n again.|
|000030d0| 20 20 42 65 63 61 75 73 | 65 20 6f 66 20 74 68 65 | Becaus|e of the|
|000030e0| 20 76 61 67 61 72 69 65 | 73 20 6f 66 20 0d 20 2a | vagarie|s of . *|
|000030f0| 20 20 4d 50 57 20 43 20 | 33 2e 30 20 6f 70 74 69 | MPW C |3.0 opti|
|00003100| 6d 69 7a 61 74 69 6f 6e | 2c 20 69 74 20 63 61 6c |mization|, it cal|
|00003110| 6c 73 20 61 20 73 65 70 | 61 72 61 74 65 20 72 6f |ls a sep|arate ro|
|00003120| 75 74 69 6e 65 20 74 6f | 20 61 63 74 75 61 6c 6c |utine to| actuall|
|00003130| 79 20 61 63 63 65 73 73 | 20 0d 20 2a 20 20 67 6c |y access| . * gl|
|00003140| 6f 62 61 6c 20 76 61 72 | 69 61 62 6c 65 73 2e 20 |obal var|iables. |
|00003150| 20 53 65 65 20 4d 2e 4f | 56 2e 41 35 20 20 2d 20 | See M.O|V.A5 - |
|00003160| 22 53 65 74 74 69 6e 67 | 20 61 6e 64 20 52 65 73 |"Setting| and Res|
|00003170| 74 6f 72 69 6e 67 20 41 | 35 22 20 66 6f 72 20 0d |toring A|5" for .|
|00003180| 20 2a 20 20 74 68 65 20 | 72 65 61 73 6f 6e 73 20 | * the |reasons |
|00003190| 66 6f 72 20 74 68 69 73 | 2c 20 61 73 20 77 65 6c |for this|, as wel|
|000031a0| 6c 20 61 73 20 66 6f 72 | 20 61 20 64 65 73 63 72 |l as for| a descr|
|000031b0| 69 70 74 69 6f 6e 20 6f | 66 20 53 65 74 41 35 2e |iption o|f SetA5.|
|000031c0| 0d 20 2a 2f 0d 76 6f 69 | 64 20 53 74 61 72 74 56 |. */.voi|d StartV|
|000031d0| 42 4c 20 28 29 0d 7b 0d | 09 6c 6f 6e 67 09 09 63 |BL ().{.|.long..c|
|000031e0| 75 72 41 35 3b 0d 09 56 | 42 4c 52 65 63 50 74 72 |urA5;..V|BLRecPtr|
|000031f0| 09 72 65 63 50 74 72 3b | 0d 09 0d 09 72 65 63 50 |.recPtr;|....recP|
|00003200| 74 72 20 3d 20 47 65 74 | 56 42 4c 52 65 63 20 28 |tr = Get|VBLRec (|
|00003210| 29 3b 09 09 2f 2a 20 46 | 69 72 73 74 20 67 65 74 |);../* F|irst get|
|00003220| 20 6f 75 72 20 72 65 63 | 6f 72 64 20 2a 2f 0d 09 | our rec|ord */..|
|00003230| 63 75 72 41 35 20 3d 20 | 53 65 74 41 35 20 28 72 |curA5 = |SetA5 (r|
|00003240| 65 63 50 74 72 2d 3e 56 | 42 4c 41 35 29 3b 09 2f |ecPtr->V|BLA5);./|
|00003250| 2a 20 47 65 74 20 74 68 | 65 20 73 61 76 65 64 20 |* Get th|e saved |
|00003260| 41 35 20 2a 2f 0d 09 09 | 09 09 09 09 2f 2a 20 4e |A5 */...|..../* N|
|00003270| 6f 77 20 77 65 20 63 61 | 6e 20 61 63 63 65 73 73 |ow we ca|n access|
|00003280| 20 67 6c 6f 62 61 6c 73 | 20 2a 2f 0d 09 44 6f 56 | globals| */..DoV|
|00003290| 42 4c 20 28 72 65 63 50 | 74 72 29 3b 09 09 09 2f |BL (recP|tr);.../|
|000032a0| 2a 20 43 61 6c 6c 20 61 | 6e 6f 74 68 65 72 20 72 |* Call a|nother r|
|000032b0| 6f 75 74 69 6e 65 20 74 | 6f 20 64 6f 20 61 63 74 |outine t|o do act|
|000032c0| 75 61 6c 20 77 6f 72 6b | 20 2a 2f 0d 09 0d 09 28 |ual work| */....(|
|000032d0| 76 6f 69 64 29 20 53 65 | 74 41 35 20 28 63 75 72 |void) Se|tA5 (cur|
|000032e0| 41 35 29 3b 09 09 2f 2a | 20 52 65 73 74 6f 72 65 |A5);../*| Restore|
|000032f0| 20 6f 6c 64 20 41 35 20 | 2a 2f 0d 7d 0d 2f 2a 0d | old A5 |*/.}./*.|
|00003300| 20 2a 20 20 49 6e 73 74 | 61 6c 6c 56 42 4c 20 63 | * Inst|allVBL c|
|00003310| 72 65 61 74 65 73 20 61 | 20 64 69 61 6c 6f 67 20 |reates a| dialog |
|00003320| 6a 75 73 74 20 74 6f 20 | 64 65 6d 6f 6e 73 74 72 |just to |demonstr|
|00003330| 61 74 65 20 74 68 61 74 | 20 74 68 65 20 67 6c 6f |ate that| the glo|
|00003340| 62 61 6c 20 76 61 72 69 | 61 62 6c 65 0d 20 2a 20 |bal vari|able. * |
|00003350| 20 69 73 20 62 65 69 6e | 67 20 75 70 64 61 74 65 | is bein|g update|
|00003360| 64 20 62 79 20 74 68 65 | 20 56 42 4c 20 54 61 73 |d by the| VBL Tas|
|00003370| 6b 2e 20 20 42 65 66 6f | 72 65 20 69 6e 73 74 61 |k. Befo|re insta|
|00003380| 6c 6c 69 6e 67 20 74 68 | 65 20 56 42 4c 2c 20 77 |lling th|e VBL, w|
|00003390| 65 20 73 74 6f 72 65 0d | 20 2a 20 20 6f 75 72 20 |e store.| * our |
|000033a0| 41 35 20 69 6e 20 74 68 | 65 20 61 63 74 75 61 6c |A5 in th|e actual|
|000033b0| 20 56 42 4c 20 54 61 73 | 6b 20 72 65 63 6f 72 64 | VBL Tas|k record|
|000033c0| 2c 20 75 73 69 6e 67 20 | 53 65 74 43 75 72 72 65 |, using |SetCurre|
|000033d0| 6e 74 41 35 20 64 65 73 | 63 72 69 62 65 64 20 69 |ntA5 des|cribed i|
|000033e0| 6e 0d 20 2a 20 20 54 4d | 2e 4f 56 2e 41 35 2e 20 |n. * TM|.OV.A5. |
|000033f0| 20 57 65 27 6c 6c 20 72 | 75 6e 20 74 68 65 20 56 | We'll r|un the V|
|00003400| 42 4c 2c 20 73 68 6f 77 | 69 6e 67 20 74 68 65 20 |BL, show|ing the |
|00003410| 63 6f 75 6e 74 65 72 20 | 62 65 69 6e 67 20 69 6e |counter |being in|
|00003420| 63 72 65 6d 65 6e 74 65 | 64 2c 0d 20 2a 20 20 75 |cremente|d,. * u|
|00003430| 6e 74 69 6c 20 74 68 65 | 20 6d 6f 75 73 65 20 62 |ntil the| mouse b|
|00003440| 75 74 74 6f 6e 20 69 73 | 20 63 6c 69 63 6b 65 64 |utton is| clicked|
|00003450| 2e 20 20 54 68 65 6e 20 | 77 65 20 72 65 6d 6f 76 |. Then |we remov|
|00003460| 65 20 74 68 65 20 56 42 | 4c 20 54 61 73 6b 2c 20 |e the VB|L Task, |
|00003470| 63 6c 6f 73 65 20 74 68 | 65 0d 20 2a 20 20 64 69 |close th|e. * di|
|00003480| 61 6c 6f 67 2c 20 61 6e | 64 20 72 65 6d 6f 76 65 |alog, an|d remove|
|00003490| 20 74 68 65 20 6d 6f 75 | 73 65 20 64 6f 77 6e 20 | the mou|se down |
|000034a0| 65 76 65 6e 74 73 20 74 | 6f 20 70 72 65 76 65 6e |events t|o preven|
|000034b0| 74 20 74 68 65 20 61 70 | 70 6c 69 63 61 74 69 6f |t the ap|plicatio|
|000034c0| 6e 20 66 72 6f 6d 0d 20 | 2a 20 20 62 65 69 6e 67 |n from. |* being|
|000034d0| 20 69 6e 61 64 76 65 72 | 74 65 6e 74 6c 79 20 73 | inadver|tently s|
|000034e0| 77 69 74 63 68 65 64 20 | 62 79 20 4d 75 6c 74 69 |witched |by Multi|
|000034f0| 46 69 6e 64 65 72 2e 0d | 20 2a 2f 0d 76 6f 69 64 |Finder..| */.void|
|00003500| 20 49 6e 73 74 61 6c 6c | 43 56 42 4c 20 28 29 0d | Install|CVBL ().|
|00003510| 7b 0d 09 56 42 4c 52 65 | 63 09 09 09 74 68 65 56 |{..VBLRe|c...theV|
|00003520| 42 4c 52 65 63 3b 0d 09 | 44 69 61 6c 6f 67 50 74 |BLRec;..|DialogPt|
|00003530| 72 09 09 69 6e 66 6f 44 | 50 74 72 3b 0d 09 44 69 |r..infoD|Ptr;..Di|
|00003540| 61 6c 6f 67 52 65 63 6f | 72 64 09 09 69 6e 66 6f |alogReco|rd..info|
|00003550| 44 53 74 6f 72 61 67 65 | 3b 0d 09 53 74 72 32 35 |DStorage|;..Str25|
|00003560| 35 09 09 09 6e 75 6d 53 | 74 72 3b 0d 09 4f 53 45 |5...numS|tr;..OSE|
|00003570| 72 72 09 09 09 74 68 65 | 45 72 72 3b 0d 09 48 61 |rr...the|Err;..Ha|
|00003580| 6e 64 6c 65 09 09 09 74 | 68 65 49 74 65 6d 48 61 |ndle...t|heItemHa|
|00003590| 6e 64 6c 65 3b 0d 09 73 | 68 6f 72 74 09 09 09 74 |ndle;..s|hort...t|
|000035a0| 68 65 49 74 65 6d 54 79 | 70 65 3b 0d 09 52 65 63 |heItemTy|pe;..Rec|
|000035b0| 74 09 09 09 74 68 65 52 | 65 63 74 3b 0d 09 67 43 |t...theR|ect;..gC|
|000035c0| 6f 75 6e 74 65 72 20 3d | 20 30 3b 09 09 09 09 2f |ounter =| 0;..../|
|000035d0| 2a 20 49 6e 69 74 69 61 | 6c 69 7a 65 20 6f 75 72 |* Initia|lize our|
|000035e0| 20 67 6c 6f 62 61 6c 20 | 63 6f 75 6e 74 65 72 20 | global |counter |
|000035f0| 2a 2f 0d 09 69 6e 66 6f | 44 50 74 72 20 3d 20 47 |*/..info|DPtr = G|
|00003600| 65 74 4e 65 77 44 69 61 | 6c 6f 67 20 28 72 49 6e |etNewDia|log (rIn|
|00003610| 66 6f 44 69 61 6c 6f 67 | 2c 20 28 50 74 72 29 20 |foDialog|, (Ptr) |
|00003620| 26 69 6e 66 6f 44 53 74 | 6f 72 61 67 65 2c 20 28 |&infoDSt|orage, (|
|00003630| 57 69 6e 64 6f 77 50 74 | 72 29 20 2d 31 29 3b 0d |WindowPt|r) -1);.|
|00003640| 09 44 72 61 77 44 69 61 | 6c 6f 67 20 28 69 6e 66 |.DrawDia|log (inf|
|00003650| 6f 44 50 74 72 29 3b 0d | 09 47 65 74 44 49 74 65 |oDPtr);.|.GetDIte|
|00003660| 6d 20 28 69 6e 66 6f 44 | 50 74 72 2c 20 72 53 74 |m (infoD|Ptr, rSt|
|00003670| 61 74 54 65 78 74 49 74 | 65 6d 2c 20 26 74 68 65 |atTextIt|em, &the|
|00003680| 49 74 65 6d 54 79 70 65 | 2c 20 26 74 68 65 49 74 |ItemType|, &theIt|
|00003690| 65 6d 48 61 6e 64 6c 65 | 2c 20 0d 09 09 26 74 68 |emHandle|, ...&th|
|000036a0| 65 52 65 63 74 29 3b 0d | 09 0d 09 2f 2a 20 0d 09 |eRect);.|.../* ..|
|000036b0| 20 2a 20 20 53 74 6f 72 | 65 20 74 68 65 20 63 75 | * Stor|e the cu|
|000036c0| 72 72 65 6e 74 20 76 61 | 6c 75 65 20 6f 66 20 41 |rrent va|lue of A|
|000036d0| 35 20 69 6e 20 74 68 65 | 20 4d 79 41 35 20 66 69 |5 in the| MyA5 fi|
|000036e0| 65 6c 64 2e 20 20 46 6f | 72 20 6d 6f 72 65 0d 09 |eld. Fo|r more..|
|000036f0| 20 2a 20 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 | * info|rmation |
|00003700| 6f 6e 20 53 65 74 43 75 | 72 72 65 6e 74 41 35 2c |on SetCu|rrentA5,|
|00003710| 20 73 65 65 20 4d 2e 4f | 56 2e 41 35 0d 09 20 2a | see M.O|V.A5.. *|
|00003720| 2f 0d 09 74 68 65 56 42 | 4c 52 65 63 2e 56 42 4c |/..theVB|LRec.VBL|
|00003730| 41 35 20 3d 20 53 65 74 | 43 75 72 72 65 6e 74 41 |A5 = Set|CurrentA|
|00003740| 35 20 28 29 3b 0d 09 2f | 2a 20 53 65 74 20 74 68 |5 ();../|* Set th|
|00003750| 65 20 61 64 64 72 65 73 | 73 20 6f 66 20 6f 75 72 |e addres|s of our|
|00003760| 20 72 6f 75 74 69 6e 65 | 20 2a 2f 0d 09 74 68 65 | routine| */..the|
|00003770| 56 42 4c 52 65 63 2e 74 | 68 65 56 42 4c 54 61 73 |VBLRec.t|heVBLTas|
|00003780| 6b 2e 76 62 6c 41 64 64 | 72 20 3d 20 28 56 42 4c |k.vblAdd|r = (VBL|
|00003790| 50 72 6f 63 50 74 72 29 | 20 53 74 61 72 74 56 42 |ProcPtr)| StartVB|
|000037a0| 4c 3b 0d 09 74 68 65 56 | 42 4c 52 65 63 2e 74 68 |L;..theV|BLRec.th|
|000037b0| 65 56 42 4c 54 61 73 6b | 2e 76 62 6c 43 6f 75 6e |eVBLTask|.vblCoun|
|000037c0| 74 20 3d 20 49 4e 54 45 | 52 56 41 4c 3b 09 2f 2a |t = INTE|RVAL;./*|
|000037d0| 20 46 72 65 71 75 65 6e | 63 79 20 6f 66 20 74 61 | Frequen|cy of ta|
|000037e0| 73 6b 2c 20 69 6e 20 74 | 69 63 6b 73 20 2a 2f 0d |sk, in t|icks */.|
|000037f0| 09 74 68 65 56 42 4c 52 | 65 63 2e 74 68 65 56 42 |.theVBLR|ec.theVB|
|00003800| 4c 54 61 73 6b 2e 71 54 | 79 70 65 20 3d 20 76 54 |LTask.qT|ype = vT|
|00003810| 79 70 65 3b 09 09 2f 2a | 20 71 45 6c 65 6d 65 6e |ype;../*| qElemen|
|00003820| 74 20 69 73 20 61 20 56 | 42 4c 20 74 61 73 6b 20 |t is a V|BL task |
|00003830| 2a 2f 0d 09 74 68 65 56 | 42 4c 52 65 63 2e 74 68 |*/..theV|BLRec.th|
|00003840| 65 56 42 4c 54 61 73 6b | 2e 76 62 6c 50 68 61 73 |eVBLTask|.vblPhas|
|00003850| 65 20 3d 20 30 3b 0d 09 | 0d 09 2f 2a 20 4e 6f 77 |e = 0;..|../* Now|
|00003860| 20 69 6e 73 74 61 6c 6c | 20 74 68 65 20 56 42 4c | install| the VBL|
|00003870| 20 74 61 73 6b 20 2a 2f | 0d 09 74 68 65 45 72 72 | task */|..theErr|
|00003880| 20 3d 20 56 49 6e 73 74 | 61 6c 6c 20 28 28 51 45 | = VInst|all ((QE|
|00003890| 6c 65 6d 50 74 72 29 26 | 74 68 65 56 42 4c 52 65 |lemPtr)&|theVBLRe|
|000038a0| 63 2e 74 68 65 56 42 4c | 54 61 73 6b 29 3b 0d 09 |c.theVBL|Task);..|
|000038b0| 0d 09 69 66 20 28 21 74 | 68 65 45 72 72 29 20 7b |..if (!t|heErr) {|
|000038c0| 0d 09 09 64 6f 20 7b 0d | 09 09 09 4e 75 6d 54 6f |...do {.|...NumTo|
|000038d0| 53 74 72 69 6e 67 20 28 | 67 43 6f 75 6e 74 65 72 |String (|gCounter|
|000038e0| 2c 20 6e 75 6d 53 74 72 | 29 3b 0d 09 09 09 53 65 |, numStr|);....Se|
|000038f0| 74 49 54 65 78 74 20 28 | 74 68 65 49 74 65 6d 48 |tIText (|theItemH|
|00003900| 61 6e 64 6c 65 2c 20 6e | 75 6d 53 74 72 29 3b 0d |andle, n|umStr);.|
|00003910| 09 09 7d 20 77 68 69 6c | 65 20 28 21 42 75 74 74 |..} whil|e (!Butt|
|00003920| 6f 6e 20 28 29 29 3b 0d | 09 09 74 68 65 45 72 72 |on ());.|..theErr|
|00003930| 20 3d 20 56 52 65 6d 6f | 76 65 20 28 28 51 45 6c | = VRemo|ve ((QEl|
|00003940| 65 6d 50 74 72 29 26 74 | 68 65 56 42 4c 52 65 63 |emPtr)&t|heVBLRec|
|00003950| 2e 74 68 65 56 42 4c 54 | 61 73 6b 29 3b 20 2f 2a |.theVBLT|ask); /*|
|00003960| 20 52 65 6d 6f 76 65 20 | 69 74 20 77 68 65 6e 20 | Remove |it when |
|00003970| 09 09 09 09 09 09 09 09 | 09 20 20 2f 2a 20 64 6f |........|. /* do|
|00003980| 6e 65 20 2a 2f 0d 09 7d | 0d 09 0d 09 2f 2a 20 46 |ne */..}|..../* F|
|00003990| 69 6e 69 73 68 20 75 70 | 20 2a 2f 0d 09 43 6c 6f |inish up| */..Clo|
|000039a0| 73 65 44 69 61 6c 6f 67 | 20 28 69 6e 66 6f 44 50 |seDialog| (infoDP|
|000039b0| 74 72 29 3b 09 09 09 09 | 2f 2a 20 47 65 74 20 72 |tr);....|/* Get r|
|000039c0| 69 64 20 6f 66 20 6f 75 | 72 20 64 69 61 6c 6f 67 |id of ou|r dialog|
|000039d0| 20 2a 2f 0d 09 46 6c 75 | 73 68 45 76 65 6e 74 73 | */..Flu|shEvents|
|000039e0| 20 28 6d 44 6f 77 6e 4d | 61 73 6b 2c 20 30 29 3b | (mDownM|ask, 0);|
|000039f0| 09 09 09 09 2f 2a 20 46 | 6c 75 73 68 20 61 6c 6c |..../* F|lush all|
|00003a00| 20 6d 6f 75 73 65 20 64 | 6f 77 6e 20 09 09 09 09 | mouse d|own ....|
|00003a10| 09 09 09 09 2f 2a 20 65 | 76 65 6e 74 73 20 2a 2f |..../* e|vents */|
|00003a20| 0d 7d 0d 43 6f 6d 70 6c | 65 74 69 6f 6e 20 52 6f |.}.Compl|etion Ro|
|00003a30| 75 74 69 6e 65 73 0d 43 | 75 72 72 65 6e 74 6c 79 |utines.C|urrently|
|00003a40| 2c 20 4d 75 6c 74 69 46 | 69 6e 64 65 72 20 77 69 |, MultiF|inder wi|
|00003a50| 6c 6c 20 6e 6f 74 20 64 | 6f 20 61 20 6d 61 6a 6f |ll not d|o a majo|
|00003a60| 72 2c 20 6d 69 6e 6f 72 | 2c 20 6f 72 20 75 70 64 |r, minor|, or upd|
|00003a70| 61 74 65 20 73 77 69 74 | 63 68 20 69 66 20 61 6e |ate swit|ch if an|
|00003a80| 20 61 73 79 6e 63 68 72 | 6f 6e 6f 75 73 20 46 69 | asynchr|onous Fi|
|00003a90| 6c 65 20 4d 61 6e 61 67 | 65 72 20 63 61 6c 6c 20 |le Manag|er call |
|00003aa0| 69 73 20 70 65 6e 64 69 | 6e 67 2e 20 20 54 68 69 |is pendi|ng. Thi|
|00003ab0| 73 20 6d 61 79 20 6e 6f | 74 20 62 65 20 74 72 75 |s may no|t be tru|
|00003ac0| 65 20 69 6e 20 74 68 65 | 20 66 75 74 75 72 65 2e |e in the| future.|
|00003ad0| 20 20 57 65 20 72 65 63 | 6f 6d 6d 65 6e 64 20 74 | We rec|ommend t|
|00003ae0| 68 61 74 20 79 6f 75 20 | 75 73 65 20 74 68 65 20 |hat you |use the |
|00003af0| 61 62 6f 76 65 20 74 65 | 63 68 6e 69 71 75 65 20 |above te|chnique |
|00003b00| 74 6f 20 73 61 76 65 20 | 41 35 20 66 6f 72 20 61 |to save |A5 for a|
|00003b10| 73 79 6e 63 68 72 6f 6e | 6f 75 73 20 46 69 6c 65 |synchron|ous File|
|00003b20| 20 4d 61 6e 61 67 65 72 | 20 63 61 6c 6c 73 2e 20 | Manager| calls. |
|00003b30| 20 4d 75 6c 74 69 46 69 | 6e 64 65 72 20 64 6f 65 | MultiFi|nder doe|
|00003b40| 73 20 61 6c 6c 6f 77 20 | 61 20 73 77 69 74 63 68 |s allow |a switch|
|00003b50| 20 69 66 20 61 6e 20 61 | 73 79 6e 63 68 72 6f 6e | if an a|synchron|
|00003b60| 6f 75 73 20 44 65 76 69 | 63 65 20 4d 61 6e 61 67 |ous Devi|ce Manag|
|00003b70| 65 72 20 6f 72 20 53 6f | 75 6e 64 20 4d 61 6e 61 |er or So|und Mana|
|00003b80| 67 65 72 20 63 61 6c 6c | 20 69 73 20 70 65 6e 64 |ger call| is pend|
|00003b90| 69 6e 67 2e 20 20 57 68 | 65 6e 20 74 68 65 20 63 |ing. Wh|en the c|
|00003ba0| 61 6c 6c 20 63 6f 6d 70 | 6c 65 74 65 73 2c 20 74 |all comp|letes, t|
|00003bb0| 68 65 20 63 6f 6d 70 6c | 65 74 69 6f 6e 20 72 6f |he compl|etion ro|
|00003bc0| 75 74 69 6e 65 20 68 61 | 73 20 6e 6f 20 77 61 79 |utine ha|s no way|
|00003bd0| 20 6f 66 20 6b 6e 6f 77 | 69 6e 67 20 77 68 6f 73 | of know|ing whos|
|00003be0| 65 20 70 61 72 74 69 74 | 69 6f 6e 20 69 73 20 61 |e partit|ion is a|
|00003bf0| 63 74 69 76 65 2c 20 74 | 68 61 74 20 69 73 2c 20 |ctive, t|hat is, |
|00003c00| 69 74 20 64 6f 65 73 6e | d5 74 20 6b 6e 6f 77 20 |it doesn|.t know |
|00003c10| 69 66 20 41 35 20 69 73 | 20 76 61 6c 69 64 20 28 |if A5 is| valid (|
|00003c20| 69 74 20 6e 65 65 64 73 | 20 41 35 20 69 66 20 69 |it needs| A5 if i|
|00003c30| 74 20 77 61 6e 74 73 20 | 74 6f 20 61 63 63 65 73 |t wants |to acces|
|00003c40| 73 20 61 20 67 6c 6f 62 | 61 6c 29 2e 20 20 53 6f |s a glob|al). So|
|00003c50| 75 6e 64 73 20 70 72 65 | 74 74 79 20 68 6f 70 65 |unds pre|tty hope|
|00003c60| 6c 65 73 73 2c 20 68 75 | 68 3f 0d 57 65 6c 6c 2c |less, hu|h?.Well,|
|00003c70| 20 61 63 74 75 61 6c 6c | 79 20 74 68 69 73 20 6f | actuall|y this o|
|00003c80| 6e 65 20 69 73 20 71 75 | 69 74 65 20 65 61 73 79 |ne is qu|ite easy|
|00003c90| 2c 20 79 6f 75 20 6a 75 | 73 74 20 6e 65 65 64 20 |, you ju|st need |
|00003ca0| 74 6f 20 70 75 74 20 74 | 68 65 20 76 61 6c 75 65 |to put t|he value|
|00003cb0| 20 6f 66 20 41 35 20 74 | 68 61 74 20 d2 62 65 6c | of A5 t|hat .bel|
|00003cc0| 6f 6e 67 73 d3 20 74 6f | 20 79 6f 75 72 20 70 61 |ongs. to| your pa|
|00003cd0| 72 74 69 74 69 6f 6e 20 | 69 6e 20 61 20 70 6c 61 |rtition |in a pla|
|00003ce0| 63 65 20 77 68 65 72 65 | 20 79 6f 75 20 63 61 6e |ce where| you can|
|00003cf0| 20 66 69 6e 64 20 69 74 | 20 66 72 6f 6d 20 79 6f | find it| from yo|
|00003d00| 75 72 20 63 6f 6d 70 6c | 65 74 69 6f 6e 20 72 6f |ur compl|etion ro|
|00003d10| 75 74 69 6e 65 2e 20 20 | 49 74 20 69 73 20 67 75 |utine. |It is gu|
|00003d20| 61 72 61 6e 74 65 65 64 | 20 74 68 61 74 20 41 30 |aranteed| that A0|
|00003d30| 20 77 69 6c 6c 20 70 6f | 69 6e 74 20 74 6f 20 79 | will po|int to y|
|00003d40| 6f 75 72 20 70 61 72 61 | 6d 65 74 65 72 20 62 6c |our para|meter bl|
|00003d50| 6f 63 6b 20 77 68 65 6e | 20 79 6f 75 72 20 63 6f |ock when| your co|
|00003d60| 6d 70 6c 65 74 69 6f 6e | 20 72 6f 75 74 69 6e 65 |mpletion| routine|
|00003d70| 20 69 73 20 63 61 6c 6c | 65 64 2c 20 73 6f 20 79 | is call|ed, so y|
|00003d80| 6f 75 20 63 61 6e 20 75 | 73 65 20 74 68 65 20 73 |ou can u|se the s|
|00003d90| 61 6d 65 20 74 65 63 68 | 6e 69 71 75 65 20 73 68 |ame tech|nique sh|
|00003da0| 6f 77 6e 20 77 69 74 68 | 20 56 42 4c 20 74 61 73 |own with| VBL tas|
|00003db0| 6b 73 20 74 6f 20 70 75 | 74 20 74 68 65 20 76 61 |ks to pu|t the va|
|00003dc0| 6c 75 65 20 6f 66 20 41 | 35 20 61 74 20 61 20 6b |lue of A|5 at a k|
|00003dd0| 6e 6f 77 6e 20 6f 66 66 | 73 65 74 20 66 72 6f 6d |nown off|set from|
|00003de0| 20 74 68 65 20 62 65 67 | 69 6e 6e 69 6e 67 20 6f | the beg|inning o|
|00003df0| 66 20 74 68 65 20 70 61 | 72 61 6d 65 74 65 72 20 |f the pa|rameter |
|00003e00| 62 6c 6f 63 6b 2c 20 61 | 6e 64 20 74 68 65 6e 20 |block, a|nd then |
|00003e10| 72 65 66 65 72 65 6e 63 | 65 20 69 74 20 66 72 6f |referenc|e it fro|
|00003e20| 6d 20 41 30 2e 20 20 43 | 6f 6d 70 6c 65 74 69 6f |m A0. C|ompletio|
|00003e30| 6e 20 72 6f 75 74 69 6e | 65 73 20 61 72 65 20 6e |n routin|es are n|
|00003e40| 6f 72 6d 61 6c 6c 79 20 | 77 72 69 74 74 65 6e 20 |ormally |written |
|00003e50| 69 6e 20 61 73 73 65 6d | 62 6c 79 20 6c 61 6e 67 |in assem|bly lang|
|00003e60| 75 61 67 65 2c 20 74 68 | 6f 75 67 68 20 79 6f 75 |uage, th|ough you|
|00003e70| 20 63 61 6e 20 61 6c 73 | 6f 20 77 72 69 74 65 20 | can als|o write |
|00003e80| 74 68 65 6d 20 69 6e 20 | 61 20 68 69 67 68 2d 6c |them in |a high-l|
|00003e90| 65 76 65 6c 20 6c 61 6e | 67 75 61 67 65 2e 20 20 |evel lan|guage. |
|00003ea0| 41 20 73 69 6d 70 6c 65 | 20 65 78 61 6d 70 6c 65 |A simple| example|
|00003eb0| 20 6f 66 20 68 6f 77 20 | 74 6f 20 64 6f 20 74 68 | of how |to do th|
|00003ec0| 69 73 20 69 6e 20 4d 50 | 57 20 50 61 73 63 61 6c |is in MP|W Pascal|
|00003ed0| 20 61 6e 64 20 43 20 63 | 61 6e 20 62 65 20 66 6f | and C c|an be fo|
|00003ee0| 75 6e 64 20 69 6e 20 74 | 68 65 20 70 72 65 76 69 |und in t|he previ|
|00003ef0| 6f 75 73 20 73 65 63 74 | 69 6f 6e 20 61 62 6f 75 |ous sect|ion abou|
|00003f00| 74 20 56 42 4c 20 74 61 | 73 6b 73 20 28 69 74 20 |t VBL ta|sks (it |
|00003f10| 77 61 73 20 65 61 73 69 | 65 72 20 74 6f 20 70 72 |was easi|er to pr|
|00003f20| 6f 76 69 64 65 20 61 20 | 63 6c 65 61 72 2c 20 63 |ovide a |clear, c|
|00003f30| 6f 6e 63 69 73 65 20 65 | 78 61 6d 70 6c 65 20 66 |oncise e|xample f|
|00003f40| 6f 72 20 56 42 4c 20 74 | 61 73 6b 73 20 74 68 61 |or VBL t|asks tha|
|00003f50| 6e 20 66 6f 72 20 61 73 | 79 6e 63 68 72 6f 6e 6f |n for as|ynchrono|
|00003f60| 75 73 20 44 65 76 69 63 | 65 20 4d 61 6e 61 67 65 |us Devic|e Manage|
|00003f70| 72 20 63 6f 6d 70 6c 65 | 74 69 6f 6e 20 72 6f 75 |r comple|tion rou|
|00003f80| 74 69 6e 65 73 29 2e 0d | 54 69 6d 65 20 4d 61 6e |tines)..|Time Man|
|00003f90| 61 67 65 72 20 54 61 73 | 6b 73 0d 54 68 65 20 54 |ager Tas|ks.The T|
|00003fa0| 69 6d 65 20 4d 61 6e 61 | 67 65 72 20 77 61 73 20 |ime Mana|ger was |
|00003fb0| 72 65 77 72 69 74 74 65 | 6e 20 66 6f 72 20 53 79 |rewritte|n for Sy|
|00003fc0| 73 74 65 6d 20 36 2e 30 | 2e 33 2e 20 20 54 68 65 |stem 6.0|.3. The|
|00003fd0| 20 6e 65 77 20 76 65 72 | 73 69 6f 6e 20 77 69 6c | new ver|sion wil|
|00003fe0| 6c 20 70 75 74 20 61 20 | 70 6f 69 6e 74 65 72 20 |l put a |pointer |
|00003ff0| 74 6f 20 74 68 65 20 54 | 4d 54 61 73 6b 20 72 65 |to the T|MTask re|
|00004000| 63 6f 72 64 20 69 6e 20 | 41 31 2e 20 20 54 68 69 |cord in |A1. Thi|
|00004010| 73 20 69 73 20 6e 6f 74 | 20 74 72 75 65 20 69 6e |s is not| true in|
|00004020| 20 53 79 73 74 65 6d 20 | 36 2e 30 2e 32 20 6f 72 | System |6.0.2 or|
|00004030| 20 65 61 72 6c 69 65 72 | 2e 20 20 54 68 65 20 74 | earlier|. The t|
|00004040| 65 63 68 6e 69 71 75 65 | 20 73 68 6f 77 6e 20 69 |echnique| shown i|
|00004050| 6e 20 74 68 65 20 65 78 | 61 6d 70 6c 65 20 56 42 |n the ex|ample VB|
|00004060| 4c 20 66 6f 72 20 61 63 | 63 65 73 73 69 6e 67 20 |L for ac|cessing |
|00004070| 61 6e 20 61 70 70 6c 69 | 63 61 74 69 6f 6e d5 73 |an appli|cation.s|
|00004080| 20 67 6c 6f 62 61 6c 73 | 20 69 73 20 70 6f 73 73 | globals| is poss|
|00004090| 69 62 6c 65 20 75 73 69 | 6e 67 20 53 79 73 74 65 |ible usi|ng Syste|
|000040a0| 6d 20 36 2e 30 2e 33 20 | 61 6e 64 20 74 68 65 20 |m 6.0.3 |and the |
|000040b0| 54 69 6d 65 20 4d 61 6e | 61 67 65 72 2e 20 20 50 |Time Man|ager. P|
|000040c0| 72 69 6f 72 20 74 6f 20 | 53 79 73 74 65 6d 20 36 |rior to |System 6|
|000040d0| 2e 30 2e 33 2c 20 74 68 | 65 20 74 61 73 6b 20 6d |.0.3, th|e task m|
|000040e0| 75 73 74 20 61 6c 73 6f | 20 73 74 6f 72 65 20 74 |ust also| store t|
|000040f0| 68 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e d5 73 |he appli|cation.s|
|00004100| 20 41 35 20 69 6e 74 6f | 20 69 74 73 20 63 6f 64 | A5 into| its cod|
|00004110| 65 2e 20 20 54 68 69 73 | 20 6d 65 74 68 6f 64 20 |e. This| method |
|00004120| 69 73 20 6e 6f 74 20 61 | 20 76 65 72 79 20 67 6f |is not a| very go|
|00004130| 6f 64 20 69 64 65 61 20 | 61 6e 64 20 72 75 6e 73 |od idea |and runs|
|00004140| 20 74 68 65 20 72 69 73 | 6b 20 6f 66 20 69 6e 63 | the ris|k of inc|
|00004150| 6f 6d 70 61 74 69 62 69 | 6c 69 74 79 20 28 73 65 |ompatibi|lity (se|
|00004160| 6c 66 d0 6d 6f 64 69 66 | 79 69 6e 67 20 63 6f 64 |lf.modif|ying cod|
|00004170| 65 29 2e 0d 49 6e 74 65 | 72 72 75 70 74 20 53 65 |e)..Inte|rrupt Se|
|00004180| 72 76 69 63 65 20 52 6f | 75 74 69 6e 65 73 0d 49 |rvice Ro|utines.I|
|00004190| 66 20 79 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |f your a|pplicati|
|000041a0| 6f 6e 20 6e 65 65 64 73 | 20 74 6f 20 67 65 74 20 |on needs| to get |
|000041b0| 74 6f 20 69 74 73 20 61 | 70 70 6c 69 63 61 74 69 |to its a|pplicati|
|000041c0| 6f 6e 20 67 6c 6f 62 61 | 6c 73 2c 20 61 6e 64 20 |on globa|ls, and |
|000041d0| 69 74 20 72 65 70 6c 61 | 63 65 73 20 74 68 65 20 |it repla|ces the |
|000041e0| 73 74 61 6e 64 61 72 64 | 20 36 38 78 78 78 20 69 |standard| 68xxx i|
|000041f0| 6e 74 65 72 72 75 70 74 | 20 76 65 63 74 6f 72 73 |nterrupt| vectors|
|00004200| 20 28 6c 65 76 65 6c 73 | 20 31 2d 37 29 20 77 69 | (levels| 1-7) wi|
|00004210| 74 68 20 70 6f 69 6e 74 | 65 72 73 20 74 6f 20 69 |th point|ers to i|
|00004220| 74 73 20 6f 77 6e 20 72 | 6f 75 74 69 6e 65 73 2c |ts own r|outines,|
|00004230| 20 69 74 20 6d 75 73 74 | 20 61 6c 73 6f 20 73 74 | it must| also st|
|00004240| 6f 72 65 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 |ore the |applicat|
|00004250| 69 6f 6e d5 73 20 41 35 | 20 69 6e 74 6f 20 69 74 |ion.s A5| into it|
|00004260| 73 20 63 6f 64 65 20 28 | 73 69 6e 63 65 20 74 68 |s code (|since th|
|00004270| 65 72 65 20 69 73 20 6e | 6f 20 70 61 72 61 6d 65 |ere is n|o parame|
|00004280| 74 65 72 20 62 6c 6f 63 | 6b 20 66 6f 72 20 69 6e |ter bloc|k for in|
|00004290| 74 65 72 72 75 70 74 20 | 73 65 72 76 69 63 65 20 |terrupt |service |
|000042a0| 72 6f 75 74 69 6e 65 73 | 29 2e 20 20 54 68 69 73 |routines|). This|
|000042b0| 20 6d 65 74 68 6f 64 20 | 69 73 20 6e 6f 74 20 61 | method |is not a|
|000042c0| 20 76 65 72 79 20 67 6f | 6f 64 20 69 64 65 61 20 | very go|od idea |
|000042d0| 61 6e 64 20 72 75 6e 73 | 20 74 68 65 20 72 69 73 |and runs| the ris|
|000042e0| 6b 20 6f 66 20 63 6f 6d | 70 61 74 69 62 69 6c 69 |k of com|patibili|
|000042f0| 74 79 20 28 73 65 6c 66 | d0 6d 6f 64 69 66 79 69 |ty (self|.modifyi|
|00004300| 6e 67 20 63 6f 64 65 29 | 2e 0d 4e 6f 74 65 3a 09 |ng code)|..Note:.|
|00004310| 57 44 45 46 73 20 73 68 | 6f 75 6c 64 20 61 6c 73 |WDEFs sh|ould als|
|00004320| 6f 20 6d 61 69 6e 74 61 | 69 6e 20 61 20 63 6f 70 |o mainta|in a cop|
|00004330| 79 20 6f 66 20 41 35 20 | 69 6e 20 74 68 65 20 73 |y of A5 |in the s|
|00004340| 61 6d 65 20 66 61 73 68 | 69 6f 6e 20 61 73 20 54 |ame fash|ion as T|
|00004350| 69 6d 65 20 4d 61 6e 61 | 67 65 72 20 74 61 73 6b |ime Mana|ger task|
|00004360| 73 20 28 70 72 69 6f 72 | 20 74 6f 20 53 79 73 74 |s (prior| to Syst|
|00004370| 65 6d 20 53 6f 66 74 77 | 61 72 65 20 36 2e 30 2e |em Softw|are 6.0.|
|00004380| 33 29 20 61 6e 64 20 73 | 65 74 20 75 70 20 41 35 |3) and s|et up A5|
|00004390| 20 77 68 65 6e 20 63 61 | 6c 6c 65 64 3b 20 57 44 | when ca|lled; WD|
|000043a0| 45 46 73 20 73 68 6f 75 | 6c 64 20 61 6c 73 6f 20 |EFs shou|ld also |
|000043b0| 62 65 20 6e 6f 6e 2d 70 | 75 72 67 65 61 62 6c 65 |be non-p|urgeable|
|000043c0| 2e 0d 4c 61 75 6e 63 68 | 69 6e 67 20 61 6e 64 20 |..Launch|ing and |
|000043d0| 4d 75 6c 74 69 46 69 6e | 64 65 72 0d 54 65 63 68 |MultiFin|der.Tech|
|000043e0| 6e 69 63 61 6c 20 4e 6f | 74 65 20 50 53 20 31 20 |nical No|te PS 1 |
|000043f0| 2d 20 53 75 62 28 4c 61 | 75 6e 63 68 69 6e 67 29 |- Sub(La|unching)|
|00004400| 20 46 72 6f 6d 20 61 20 | 48 69 67 68 2d 4c 65 76 | From a |High-Lev|
|00004410| 65 6c 20 4c 61 6e 67 75 | 61 67 65 20 64 69 73 63 |el Langu|age disc|
|00004420| 75 73 73 65 73 20 74 68 | 65 20 73 75 62 6c 61 75 |usses th|e sublau|
|00004430| 6e 63 68 69 6e 67 20 66 | 65 61 74 75 72 65 20 6f |nching f|eature o|
|00004440| 66 20 53 79 73 74 65 6d | 73 20 34 2e 31 20 61 6e |f System|s 4.1 an|
|00004450| 64 20 6e 65 77 65 72 2e | 20 20 49 66 20 79 6f 75 |d newer.| If you|
|00004460| 20 61 72 65 20 72 75 6e | 6e 69 6e 67 20 4d 75 6c | are run|ning Mul|
|00004470| 74 69 46 69 6e 64 65 72 | 2c 20 61 6e 64 20 79 6f |tiFinder|, and yo|
|00004480| 75 20 75 73 65 20 74 68 | 65 20 74 65 63 68 6e 69 |u use th|e techni|
|00004490| 71 75 65 20 64 65 6d 6f | 6e 73 74 72 61 74 65 64 |que demo|nstrated|
|000044a0| 20 69 6e 20 74 68 61 74 | 20 54 65 63 68 6e 69 63 | in that| Technic|
|000044b0| 61 6c 20 4e 6f 74 65 2c | 20 79 6f 75 72 20 61 70 |al Note,| your ap|
|000044c0| 70 6c 69 63 61 74 69 6f | 6e 20 77 69 6c 6c 20 62 |plicatio|n will b|
|000044d0| 65 20 61 62 6c 65 20 74 | 6f 20 6c 61 75 6e 63 68 |e able t|o launch|
|000044e0| 20 74 68 65 20 64 65 73 | 69 72 65 64 20 61 70 70 | the des|ired app|
|000044f0| 6c 69 63 61 74 69 6f 6e | 20 61 6e 64 20 72 65 6d |lication| and rem|
|00004500| 61 69 6e 20 6f 70 65 6e | 2e 20 20 4e 6f 74 65 3a |ain open|. Note:|
|00004510| 20 4d 75 6c 74 69 46 69 | 6e 64 65 72 20 64 6f 65 | MultiFi|nder doe|
|00004520| 73 20 6e 6f 74 20 73 75 | 70 70 6f 72 74 20 5f 43 |s not su|pport _C|
|00004530| 68 61 69 6e 3b 20 79 6f | 75 72 20 61 70 70 6c 69 |hain; yo|ur appli|
|00004540| 63 61 74 69 6f 6e 20 73 | 68 6f 75 6c 64 20 6e 65 |cation s|hould ne|
|00004550| 76 65 72 20 63 61 6c 6c | 20 74 68 69 73 20 74 72 |ver call| this tr|
|00004560| 61 70 2e 0d 54 68 65 20 | 61 70 70 6c 69 63 61 74 |ap..The |applicat|
|00004570| 69 6f 6e 20 74 68 61 74 | 20 79 6f 75 20 6c 61 75 |ion that| you lau|
|00004580| 6e 63 68 20 77 69 6c 6c | 20 62 65 63 6f 6d 65 20 |nch will| become |
|00004590| 74 68 65 20 66 6f 72 65 | 67 72 6f 75 6e 64 20 61 |the fore|ground a|
|000045a0| 70 70 6c 69 63 61 74 69 | 6f 6e 2e 20 20 55 6e 6c |pplicati|on. Unl|
|000045b0| 69 6b 65 20 6e 6f 6e 2d | 4d 75 6c 74 69 46 69 6e |ike non-|MultiFin|
|000045c0| 64 65 72 20 73 79 73 74 | 65 6d 73 2c 20 77 68 65 |der syst|ems, whe|
|000045d0| 6e 20 74 68 65 20 75 73 | 65 72 20 71 75 69 74 73 |n the us|er quits|
|000045e0| 20 74 68 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | the app|lication|
|000045f0| 20 74 68 61 74 20 79 6f | 75 20 68 61 76 65 20 73 | that yo|u have s|
|00004600| 75 62 6c 61 75 6e 63 68 | 65 64 2c 20 63 6f 6e 74 |ublaunch|ed, cont|
|00004610| 72 6f 6c 20 77 69 6c 6c | 20 6e 6f 74 20 6e 65 63 |rol will| not nec|
|00004620| 65 73 73 61 72 69 6c 79 | 20 72 65 74 75 72 6e 20 |essarily| return |
|00004630| 74 6f 20 79 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |to your |applicat|
|00004640| 69 6f 6e 2c 20 62 75 74 | 20 72 61 74 68 65 72 20 |ion, but| rather |
|00004650| 74 6f 20 74 68 65 20 6e | 65 78 74 20 66 72 6f 6e |to the n|ext fron|
|00004660| 74 6d 6f 73 74 20 6c 61 | 79 65 72 2e 0d 4e 6f 74 |tmost la|yer..Not|
|00004670| 65 3a 09 54 68 65 20 77 | 61 72 6e 69 6e 67 73 20 |e:.The w|arnings |
|00004680| 69 6e 20 54 65 63 68 6e | 69 63 61 6c 20 4e 6f 74 |in Techn|ical Not|
|00004690| 65 20 50 53 20 31 20 61 | 62 6f 75 74 20 73 75 62 |e PS 1 a|bout sub|
|000046a0| 6c 61 75 6e 63 68 69 6e | 67 20 73 74 69 6c 6c 20 |launchin|g still |
|000046b0| 61 70 70 6c 79 2c 20 62 | 75 74 2c 20 69 66 20 79 |apply, b|ut, if y|
|000046c0| 6f 75 20 73 74 69 6c 6c | 20 77 69 73 68 20 74 6f |ou still| wish to|
|000046d0| 20 73 75 62 6c 61 75 6e | 63 68 2c 20 77 65 20 73 | sublaun|ch, we s|
|000046e0| 74 72 6f 6e 67 6c 79 20 | 72 65 63 6f 6d 6d 65 6e |trongly |recommen|
|000046f0| 64 20 74 68 61 74 20 79 | 6f 75 20 73 65 74 20 62 |d that y|ou set b|
|00004700| 6f 74 68 20 68 69 67 68 | 20 62 69 74 73 20 6f 66 |oth high| bits of|
|00004710| 20 4c 61 75 6e 63 68 46 | 6c 61 67 73 2e 0d 54 68 | LaunchF|lags..Th|
|00004720| 65 20 53 63 72 61 70 20 | 61 6e 64 20 4d 75 6c 74 |e Scrap |and Mult|
|00004730| 69 46 69 6e 64 65 72 0d | 4d 75 6c 74 69 46 69 6e |iFinder.|MultiFin|
|00004740| 64 65 72 20 36 2e 30 20 | 61 6e 64 20 65 61 72 6c |der 6.0 |and earl|
|00004750| 69 65 72 20 6b 65 65 70 | 73 20 73 65 70 61 72 61 |ier keep|s separa|
|00004760| 74 65 20 73 63 72 61 70 | 20 76 61 72 69 61 62 6c |te scrap| variabl|
|00004770| 65 73 20 66 6f 72 20 65 | 61 63 68 20 70 61 72 74 |es for e|ach part|
|00004780| 69 74 69 6f 6e 2e 20 20 | 4d 75 6c 74 69 46 69 6e |ition. |MultiFin|
|00004790| 64 65 72 20 6f 6e 6c 79 | 20 63 68 65 63 6b 73 20 |der only| checks |
|000047a0| 74 6f 20 73 65 65 20 77 | 68 65 74 68 65 72 20 6f |to see w|hether o|
|000047b0| 72 20 6e 6f 74 20 74 6f | 20 69 6e 63 72 65 6d 65 |r not to| increme|
|000047c0| 6e 74 20 74 68 65 20 6f | 74 68 65 72 20 70 61 72 |nt the o|ther par|
|000047d0| 74 69 74 69 6f 6e 73 d5 | 20 73 63 72 61 70 43 6f |titions.| scrapCo|
|000047e0| 75 6e 74 20 76 61 72 69 | 61 62 6c 65 73 20 69 6e |unt vari|ables in|
|000047f0| 20 72 65 73 70 6f 6e 73 | 65 20 74 6f 20 61 20 75 | respons|e to a u|
|00004800| 73 65 72 2d 69 6e 69 74 | 69 61 74 65 64 20 43 75 |ser-init|iated Cu|
|00004810| 74 20 6f 72 20 43 6f 70 | 79 2e 20 20 54 6f 20 64 |t or Cop|y. To d|
|00004820| 6f 20 74 68 69 73 2c 20 | 69 74 20 77 61 74 63 68 |o this, |it watch|
|00004830| 65 73 20 66 6f 72 20 61 | 20 63 61 6c 6c 20 74 6f |es for a| call to|
|00004840| 20 5f 53 79 73 45 64 69 | 74 20 28 53 79 73 74 65 | _SysEdi|t (Syste|
|00004850| 6d 45 64 69 74 29 20 6f | 72 20 61 20 6d 65 6e 75 |mEdit) o|r a menu|
|00004860| 20 65 76 65 6e 74 20 74 | 6f 20 64 65 74 65 72 6d | event t|o determ|
|00004870| 69 6e 65 20 69 66 20 61 | 6e 20 6f 66 66 69 63 69 |ine if a|n offici|
|00004880| 61 6c 20 43 75 74 20 6f | 72 20 43 6f 70 79 20 63 |al Cut o|r Copy c|
|00004890| 6f 6d 6d 61 6e 64 20 68 | 61 73 20 62 65 65 6e 20 |ommand h|as been |
|000048a0| 69 73 73 75 65 64 2e 0d | 57 68 65 6e 20 61 6e 20 |issued..|When an |
|000048b0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 63 61 6c 6c |applicat|ion call|
|000048c0| 73 20 5f 50 75 74 53 63 | 72 61 70 20 6f 72 20 5f |s _PutSc|rap or _|
|000048d0| 5a 65 72 6f 53 63 72 61 | 70 20 69 6e 20 72 65 73 |ZeroScra|p in res|
|000048e0| 70 6f 6e 73 65 20 74 6f | 20 61 20 43 75 74 20 6f |ponse to| a Cut o|
|000048f0| 72 20 43 6f 70 79 20 6d | 65 6e 75 20 73 65 6c 65 |r Copy m|enu sele|
|00004900| 63 74 69 6f 6e 2c 20 74 | 68 65 20 6f 74 68 65 72 |ction, t|he other|
|00004910| 20 70 61 72 74 69 74 69 | 6f 6e 73 d5 20 73 63 72 | partiti|ons. scr|
|00004920| 61 70 43 6f 75 6e 74 20 | 76 61 72 69 61 62 6c 65 |apCount |variable|
|00004930| 73 20 77 69 6c 6c 20 62 | 65 20 69 6e 63 72 65 6d |s will b|e increm|
|00004940| 65 6e 74 65 64 20 28 74 | 68 65 20 6f 74 68 65 72 |ented (t|he other|
|00004950| 20 70 61 72 74 69 74 69 | 6f 6e 73 20 77 69 6c 6c | partiti|ons will|
|00004960| 20 6b 6e 6f 77 20 74 68 | 61 74 20 73 6f 6d 65 74 | know th|at somet|
|00004970| 68 69 6e 67 20 6e 65 77 | 20 68 61 73 20 62 65 65 |hing new| has bee|
|00004980| 6e 20 70 75 74 20 69 6e | 20 74 68 65 20 73 63 72 |n put in| the scr|
|00004990| 61 70 29 2e 0d 5f 55 6e | 6d 6f 75 6e 74 56 6f 6c |ap).._Un|mountVol|
|000049a0| 20 61 6e 64 20 4d 75 6c | 74 69 46 69 6e 64 65 72 | and Mul|tiFinder|
|000049b0| 0d 5f 55 6e 6d 6f 75 6e | 74 56 6f 6c 20 77 61 73 |._Unmoun|tVol was|
|000049c0| 20 63 68 61 6e 67 65 64 | 20 69 6e 20 53 79 73 74 | changed| in Syst|
|000049d0| 65 6d 20 34 2e 32 20 73 | 6f 20 74 68 61 74 20 69 |em 4.2 s|o that i|
|000049e0| 74 20 77 6f 75 6c 64 20 | 77 6f 72 6b 20 62 65 74 |t would |work bet|
|000049f0| 74 65 72 20 69 6e 20 61 | 20 73 68 61 72 65 64 20 |ter in a| shared |
|00004a00| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 2e 20 20 49 6e |environm|ent. In|
|00004a10| 20 73 79 73 74 65 6d 73 | 20 34 2e 31 20 61 6e 64 | systems| 4.1 and|
|00004a20| 20 70 72 69 6f 72 2c 20 | 5f 55 6e 6d 6f 75 6e 74 | prior, |_Unmount|
|00004a30| 56 6f 6c 20 77 6f 75 6c | 64 20 73 75 63 63 65 73 |Vol woul|d succes|
|00004a40| 73 66 75 6c 6c 79 20 75 | 6e 6d 6f 75 6e 74 20 61 |sfully u|nmount a|
|00004a50| 20 76 6f 6c 75 6d 65 20 | 65 76 65 6e 20 69 66 20 | volume |even if |
|00004a60| 66 69 6c 65 73 20 77 65 | 72 65 20 6f 70 65 6e 20 |files we|re open |
|00004a70| 6f 6e 20 74 68 61 74 20 | 76 6f 6c 75 6d 65 2e 20 |on that |volume. |
|00004a80| 20 55 6e 64 65 72 20 4d | 75 6c 74 69 46 69 6e 64 | Under M|ultiFind|
|00004a90| 65 72 2c 20 74 68 61 74 | 20 77 6f 75 6c 64 20 62 |er, that| would b|
|00004aa0| 65 20 64 69 73 61 73 74 | 72 6f 75 73 2c 20 73 69 |e disast|rous, si|
|00004ab0| 6e 63 65 20 6f 6e 65 20 | 61 70 70 6c 69 63 61 74 |nce one |applicat|
|00004ac0| 69 6f 6e 20 63 6f 75 6c | 64 20 75 6e 6d 6f 75 6e |ion coul|d unmoun|
|00004ad0| 74 20 61 20 76 6f 6c 75 | 6d 65 20 74 68 61 74 20 |t a volu|me that |
|00004ae0| 61 6e 6f 74 68 65 72 20 | 61 70 70 6c 69 63 61 74 |another |applicat|
|00004af0| 69 6f 6e 20 77 61 73 20 | 75 73 69 6e 67 20 28 74 |ion was |using (t|
|00004b00| 68 69 73 20 65 78 61 63 | 74 20 70 72 6f 62 6c 65 |his exac|t proble|
|00004b10| 6d 20 63 6f 75 6c 64 20 | 6f 63 63 75 72 20 77 68 |m could |occur wh|
|00004b20| 65 6e 20 4d 75 6c 74 69 | 46 69 6e 64 65 72 20 69 |en Multi|Finder i|
|00004b30| 73 20 6e 6f 74 20 61 63 | 74 69 76 65 2c 20 69 66 |s not ac|tive, if|
|00004b40| 20 61 20 44 41 20 75 6e | 6d 6f 75 6e 74 65 64 20 | a DA un|mounted |
|00004b50| 61 20 76 6f 6c 75 6d 65 | 20 d2 6f 75 74 20 66 72 |a volume| .out fr|
|00004b60| 6f 6d 20 75 6e 64 65 72 | d3 20 61 6e 20 61 70 70 |om under|. an app|
|00004b70| 6c 69 63 61 74 69 6f 6e | 29 2e 0d 53 79 73 74 65 |lication|)..Syste|
|00004b80| 6d 20 34 2e 32 20 63 68 | 61 6e 67 65 73 20 74 68 |m 4.2 ch|anges th|
|00004b90| 65 20 62 65 68 61 76 69 | 6f 72 20 6f 66 20 5f 55 |e behavi|or of _U|
|00004ba0| 6e 6d 6f 75 6e 74 56 6f | 6c 20 28 77 68 65 74 68 |nmountVo|l (wheth|
|00004bb0| 65 72 20 6f 72 20 6e 6f | 74 20 4d 75 6c 74 69 46 |er or no|t MultiF|
|00004bc0| 69 6e 64 65 72 20 69 73 | 20 61 63 74 69 76 65 29 |inder is| active)|
|00004bd0| 20 73 6f 20 74 68 61 74 | 20 69 74 20 72 65 74 75 | so that| it retu|
|00004be0| 72 6e 73 20 61 20 2d 34 | 37 20 28 46 42 73 79 45 |rns a -4|7 (FBsyE|
|00004bf0| 72 72 29 20 65 72 72 6f | 72 20 69 66 20 61 6e 79 |rr) erro|r if any|
|00004c00| 20 66 69 6c 65 73 20 61 | 72 65 20 6f 70 65 6e 20 | files a|re open |
|00004c10| 6f 6e 20 74 68 65 20 76 | 6f 6c 75 6d 65 20 79 6f |on the v|olume yo|
|00004c20| 75 20 77 69 73 68 20 74 | 6f 20 75 6e 6d 6f 75 6e |u wish t|o unmoun|
|00004c30| 74 2e 20 20 53 69 6e 63 | 65 20 74 68 65 20 46 69 |t. Sinc|e the Fi|
|00004c40| 6e 64 65 72 20 61 6c 77 | 61 79 73 20 68 61 73 20 |nder alw|ays has |
|00004c50| 61 20 44 65 73 6b 74 6f | 70 20 66 69 6c 65 20 6f |a Deskto|p file o|
|00004c60| 70 65 6e 20 66 6f 72 20 | 65 61 63 68 20 76 6f 6c |pen for |each vol|
|00004c70| 75 6d 65 2c 20 61 20 63 | 61 6c 6c 20 74 6f 20 5f |ume, a c|all to _|
|00004c80| 55 6e 6d 6f 75 6e 74 56 | 6f 6c 20 61 73 6b 73 20 |UnmountV|ol asks |
|00004c90| 69 74 20 74 6f 20 63 6c | 6f 73 65 20 74 68 65 20 |it to cl|ose the |
|00004ca0| 44 65 73 6b 74 6f 70 20 | 66 69 6c 65 20 73 6f 20 |Desktop |file so |
|00004cb0| 79 6f 75 20 77 6f 6e d5 | 74 20 67 65 74 20 61 6e |you won.|t get an|
|00004cc0| 20 65 72 72 6f 72 20 69 | 66 20 74 68 65 20 6f 6e | error i|f the on|
|00004cd0| 6c 79 20 66 69 6c 65 20 | 6f 70 65 6e 20 69 73 20 |ly file |open is |
|00004ce0| 74 68 65 20 44 65 73 6b | 74 6f 70 20 66 69 6c 65 |the Desk|top file|
|00004cf0| 2e 20 20 48 6f 77 65 76 | 65 72 2c 20 74 68 65 72 |. Howev|er, ther|
|00004d00| 65 20 69 73 20 61 20 62 | 75 67 20 77 69 74 68 20 |e is a b|ug with |
|00004d10| 74 68 69 73 20 6e 65 77 | 20 62 65 68 61 76 69 6f |this new| behavio|
|00004d20| 72 2e 20 20 49 6e 20 53 | 79 73 74 65 6d 20 36 2e |r. In S|ystem 6.|
|00004d30| 30 2e 33 2c 20 61 6e 64 | 20 65 61 72 6c 69 65 72 |0.3, and| earlier|
|00004d40| 2c 20 5f 55 6e 6d 6f 75 | 6e 74 56 6f 6c 20 64 6f |, _Unmou|ntVol do|
|00004d50| 65 73 20 6e 6f 74 20 63 | 6c 6f 73 65 20 74 68 65 |es not c|lose the|
|00004d60| 20 44 65 73 6b 74 6f 70 | 20 66 69 6c 65 20 66 6f | Desktop| file fo|
|00004d70| 72 20 4d 46 53 d0 66 6f | 72 6d 61 74 74 65 64 20 |r MFS.fo|rmatted |
|00004d80| 76 6f 6c 75 6d 65 73 2e | 20 20 4f 6e 6c 79 20 74 |volumes.| Only t|
|00004d90| 68 65 20 46 69 6e 64 65 | 72 20 63 61 6e 20 75 6e |he Finde|r can un|
|00004da0| 6d 6f 75 6e 74 20 61 20 | 4d 46 53 20 76 6f 6c 75 |mount a |MFS volu|
|00004db0| 6d 65 20 28 77 68 65 6e | 20 74 68 65 20 75 73 65 |me (when| the use|
|00004dc0| 72 20 64 72 61 67 73 20 | 74 68 65 20 64 69 73 6b |r drags |the disk|
|00004dd0| 20 69 63 6f 6e 20 74 6f | 20 74 68 65 20 74 72 61 | icon to| the tra|
|00004de0| 73 68 29 2e 0d 44 69 73 | 70 6c 61 79 69 6e 67 20 |sh)..Dis|playing |
|00004df0| 61 20 53 70 6c 61 73 68 | 20 53 63 72 65 65 6e 0d |a Splash| Screen.|
|00004e00| 53 6f 6d 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |Some app|lication|
|00004e10| 73 20 6c 69 6b 65 20 20 | 74 6f 20 70 75 74 20 75 |s like |to put u|
|00004e20| 70 20 61 20 d2 73 70 6c | 61 73 68 20 73 63 72 65 |p a .spl|ash scre|
|00004e30| 65 6e d3 20 74 6f 20 67 | 69 76 65 20 74 68 65 20 |en. to g|ive the |
|00004e40| 75 73 65 72 20 73 6f 6d | 65 74 68 69 6e 67 20 74 |user som|ething t|
|00004e50| 6f 20 6c 6f 6f 6b 20 61 | 74 20 77 68 69 6c 65 20 |o look a|t while |
|00004e60| 74 68 65 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |the appl|ication |
|00004e70| 69 73 20 6c 6f 61 64 69 | 6e 67 2e 20 49 66 20 79 |is loadi|ng. If y|
|00004e80| 6f 75 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |our appl|ication |
|00004e90| 64 6f 65 73 20 74 68 69 | 73 20 61 6e 64 20 68 61 |does thi|s and ha|
|00004ea0| 73 20 74 68 65 20 63 61 | 6e 42 61 63 6b 67 72 6f |s the ca|nBackgro|
|00004eb0| 75 6e 64 20 62 69 74 20 | 73 65 74 20 69 6e 20 74 |und bit |set in t|
|00004ec0| 68 65 20 73 69 7a 65 20 | 72 65 73 6f 75 72 63 65 |he size |resource|
|00004ed0| 2c 20 74 68 65 6e 20 69 | 74 20 73 68 6f 75 6c 64 |, then i|t should|
|00004ee0| 20 63 61 6c 6c 20 5f 45 | 76 65 6e 74 41 76 61 69 | call _E|ventAvai|
|00004ef0| 6c 20 73 65 76 65 72 61 | 6c 20 74 69 6d 65 73 20 |l severa|l times |
|00004f00| 28 6f 72 20 5f 57 61 69 | 74 4e 65 78 74 45 76 65 |(or _Wai|tNextEve|
|00004f10| 6e 74 20 6f 72 20 5f 47 | 65 74 4e 65 78 74 45 76 |nt or _G|etNextEv|
|00004f20| 65 6e 74 29 20 62 65 66 | 6f 72 65 20 70 75 74 74 |ent) bef|ore putt|
|00004f30| 69 6e 67 20 75 70 20 74 | 68 65 20 73 70 6c 61 73 |ing up t|he splas|
|00004f40| 68 20 73 63 72 65 65 6e | 2c 20 6f 72 20 74 68 65 |h screen|, or the|
|00004f50| 20 73 70 6c 61 73 68 20 | 73 63 72 65 65 6e 20 77 | splash |screen w|
|00004f60| 69 6c 6c 20 63 6f 6d 65 | 20 75 70 20 62 65 68 69 |ill come| up behi|
|00004f70| 6e 64 20 74 68 65 20 66 | 72 6f 6e 74 6d 6f 73 74 |nd the f|rontmost|
|00004f80| 20 6c 61 79 65 72 2e 20 | 20 49 66 20 74 68 65 20 | layer. | If the |
|00004f90| 63 61 6e 42 61 63 6b 67 | 72 6f 75 6e 64 20 62 69 |canBackg|round bi|
|00004fa0| 74 20 69 73 20 73 65 74 | 2c 20 4d 75 6c 74 69 46 |t is set|, MultiF|
|00004fb0| 69 6e 64 65 72 20 77 69 | 6c 6c 20 6e 6f 74 20 6d |inder wi|ll not m|
|00004fc0| 6f 76 65 20 79 6f 75 72 | 20 6c 61 79 65 72 20 74 |ove your| layer t|
|00004fd0| 6f 20 74 68 65 20 66 72 | 6f 6e 74 20 75 6e 74 69 |o the fr|ont unti|
|00004fe0| 6c 20 79 6f 75 20 63 61 | 6c 6c 20 5f 47 65 74 4e |l you ca|ll _GetN|
|00004ff0| 65 78 74 45 76 65 6e 74 | 2c 20 5f 57 61 69 74 4e |extEvent|, _WaitN|
|00005000| 65 78 74 45 76 65 6e 74 | 2c 20 6f 72 20 5f 45 76 |extEvent|, or _Ev|
|00005010| 65 6e 74 41 76 61 69 6c | 2e 0d 54 68 65 20 41 70 |entAvail|..The Ap|
|00005020| 70 6c 65 20 4d 65 6e 75 | 20 61 6e 64 20 4d 75 6c |ple Menu| and Mul|
|00005030| 74 69 46 69 6e 64 65 72 | 0d 41 70 70 6c 69 63 61 |tiFinder|.Applica|
|00005040| 74 69 6f 6e 73 20 73 68 | 6f 75 6c 64 20 61 76 6f |tions sh|ould avo|
|00005050| 69 64 20 64 6f 69 6e 67 | 20 61 6e 79 74 68 69 6e |id doing| anythin|
|00005060| 67 20 75 6e 74 6f 77 61 | 72 64 20 77 69 74 68 20 |g untowa|rd with |
|00005070| 74 68 65 20 41 70 70 6c | 65 20 6d 65 6e 75 2e 20 |the Appl|e menu. |
|00005080| 20 46 6f 72 20 65 78 61 | 6d 70 6c 65 2c 20 69 66 | For exa|mple, if|
|00005090| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|000050a0| 6e 20 70 75 74 73 20 61 | 6e 20 69 63 6f 6e 20 6e |n puts a|n icon n|
|000050b0| 65 78 74 20 74 6f 20 74 | 68 65 20 d2 41 62 6f 75 |ext to t|he .Abou|
|000050c0| 74 20 4d 79 41 70 70 6c | 69 63 61 74 69 6f 6e c9 |t MyAppl|ication.|
|000050d0| d3 20 69 74 65 6d 2c 20 | 4d 75 6c 74 69 46 69 6e |. item, |MultiFin|
|000050e0| 64 65 72 20 6d 61 79 20 | 75 6e 63 65 72 65 6d 6f |der may |unceremo|
|000050f0| 6e 69 6f 75 73 6c 79 20 | 77 72 69 74 65 20 6f 76 |niously |write ov|
|00005100| 65 72 20 69 74 2e 20 20 | 49 74 20 69 73 20 69 6d |er it. |It is im|
|00005110| 70 6f 72 74 61 6e 74 20 | 74 6f 20 63 6f 6e 73 69 |portant |to consi|
|00005120| 64 65 72 20 74 68 65 20 | 41 70 70 6c 65 20 4d 65 |der the |Apple Me|
|00005130| 6e 75 20 6f 77 6e 65 64 | 20 62 79 20 74 68 65 20 |nu owned| by the |
|00005140| 73 79 73 74 65 6d 2e 20 | 20 59 6f 75 20 63 61 6e |system. | You can|
|00005150| 20 68 61 76 65 20 74 68 | 65 20 73 74 61 6e 64 61 | have th|e standa|
|00005160| 72 64 20 61 62 6f 75 74 | 20 69 74 65 6d 2c 20 62 |rd about| item, b|
|00005170| 75 74 20 6f 74 68 65 72 | 20 74 68 61 6e 20 74 68 |ut other| than th|
|00005180| 69 73 2c 20 79 6f 75 20 | 73 68 6f 75 6c 64 20 61 |is, you |should a|
|00005190| 76 6f 69 64 20 75 73 69 | 6e 67 20 74 68 65 20 41 |void usi|ng the A|
|000051a0| 70 70 6c 65 20 6d 65 6e | 75 2e 20 20 44 6f 6e d5 |pple men|u. Don.|
|000051b0| 74 20 6d 61 6b 65 20 61 | 6e 79 20 61 73 73 75 6d |t make a|ny assum|
|000051c0| 70 74 69 6f 6e 73 20 61 | 62 6f 75 74 20 74 68 65 |ptions a|bout the|
|000051d0| 20 63 6f 6e 74 65 6e 74 | 73 20 6f 66 20 74 68 69 | content|s of thi|
|000051e0| 73 20 6d 65 6e 75 2e 20 | 20 45 76 65 6e 20 72 65 |s menu. | Even re|
|000051f0| 61 64 69 6e 67 20 66 72 | 6f 6d 20 69 74 73 20 64 |ading fr|om its d|
|00005200| 61 74 61 20 6d 61 79 20 | 62 65 20 61 20 63 6f 6d |ata may |be a com|
|00005210| 70 61 74 69 62 69 6c 69 | 74 79 20 72 69 73 6b 20 |patibili|ty risk |
|00005220| 73 69 6e 63 65 20 69 74 | 73 20 73 74 72 75 63 74 |since it|s struct|
|00005230| 75 72 65 20 6d 61 79 20 | 63 68 61 6e 67 65 2e 0d |ure may |change..|
|00005240| 49 6e 74 65 72 70 72 6f | 63 65 73 73 20 43 6f 6d |Interpro|cess Com|
|00005250| 6d 75 6e 69 63 61 74 69 | 6f 6e 0d 4d 75 6c 74 69 |municati|on.Multi|
|00005260| 46 69 6e 64 65 72 20 36 | 2e 30 2c 20 61 6e 64 20 |Finder 6|.0, and |
|00005270| 65 61 72 6c 69 65 72 2c | 20 64 6f 65 73 20 6e 6f |earlier,| does no|
|00005280| 74 20 68 61 76 65 20 66 | 75 6c 6c 2d 66 6c 65 64 |t have f|ull-fled|
|00005290| 67 65 64 20 69 6e 74 65 | 72 70 72 6f 63 65 73 73 |ged inte|rprocess|
|000052a0| 20 63 6f 6d 6d 75 6e 69 | 63 61 74 69 6f 6e 20 66 | communi|cation f|
|000052b0| 61 63 69 6c 69 74 69 65 | 73 2e 20 20 54 68 65 72 |acilitie|s. Ther|
|000052c0| 65 20 69 73 20 6e 6f 20 | 73 74 61 6e 64 61 72 64 |e is no |standard|
|000052d0| 20 77 61 79 20 74 6f 20 | 63 6f 6d 6d 75 6e 69 63 | way to |communic|
|000052e0| 61 74 65 20 62 65 74 77 | 65 65 6e 20 61 70 70 6c |ate betw|een appl|
|000052f0| 69 63 61 74 69 6f 6e 73 | 20 69 6e 20 4d 75 6c 74 |ications| in Mult|
|00005300| 69 46 69 6e 64 65 72 20 | 36 2e 30 2e 20 20 54 68 |iFinder |6.0. Th|
|00005310| 65 72 65 20 61 72 65 2c | 20 68 6f 77 65 76 65 72 |ere are,| however|
|00005320| 2c 20 61 20 63 6f 75 70 | 6c 65 20 6f 66 20 77 61 |, a coup|le of wa|
|00005330| 79 73 20 74 6f 20 63 6f | 6d 6d 75 6e 69 63 61 74 |ys to co|mmunicat|
|00005340| 65 20 62 65 74 77 65 65 | 6e 20 61 70 70 6c 69 63 |e betwee|n applic|
|00005350| 61 74 69 6f 6e 73 2e 0d | 4e 6f 74 65 3a 09 49 74 |ations..|Note:.It|
|00005360| 20 69 73 20 69 6e 20 79 | 6f 75 72 20 62 65 73 74 | is in y|our best|
|00005370| 20 69 6e 74 65 72 65 73 | 74 20 74 6f 20 77 61 69 | interes|t to wai|
|00005380| 74 20 75 6e 74 69 6c 20 | 41 70 70 6c 65 20 69 6d |t until |Apple im|
|00005390| 70 6c 65 6d 65 6e 74 73 | 20 49 6e 74 65 72 61 70 |plements| Interap|
|000053a0| 70 6c 69 63 61 74 69 6f | 6e 20 43 6f 6d 6d 75 6e |plicatio|n Commun|
|000053b0| 69 63 61 74 69 6f 6e 20 | 28 49 41 43 29 20 69 6e |ication |(IAC) in|
|000053c0| 20 53 79 73 74 65 6d 20 | 37 2e 30 2e 0d 5f 50 6f | System |7.0.._Po|
|000053d0| 73 74 45 76 65 6e 74 0d | 45 76 65 6e 20 74 68 6f |stEvent.|Even tho|
|000053e0| 75 67 68 20 79 6f 75 20 | 63 61 6e 20 68 61 76 65 |ugh you |can have|
|000053f0| 20 6d 61 6e 79 20 61 70 | 70 6c 69 63 61 74 69 6f | many ap|plicatio|
|00005400| 6e 73 20 72 75 6e 6e 69 | 6e 67 20 61 74 20 6f 6e |ns runni|ng at on|
|00005410| 63 65 2c 20 65 61 63 68 | 20 77 69 74 68 20 61 20 |ce, each| with a |
|00005420| 66 61 69 72 6c 79 20 69 | 6e 64 65 70 65 6e 64 65 |fairly i|ndepende|
|00005430| 6e 74 20 77 6f 72 6c 64 | 2c 20 74 68 65 20 45 76 |nt world|, the Ev|
|00005440| 65 6e 74 20 4d 61 6e 61 | 67 65 72 20 6d 61 69 6e |ent Mana|ger main|
|00005450| 74 61 69 6e 73 20 6f 6e | 6c 79 20 6f 6e 65 20 65 |tains on|ly one e|
|00005460| 76 65 6e 74 20 71 75 65 | 75 65 2e 20 20 42 65 63 |vent que|ue. Bec|
|00005470| 61 75 73 65 20 6f 66 20 | 74 68 69 73 20 73 69 6e |ause of |this sin|
|00005480| 67 6c 65 20 71 75 65 75 | 65 2c 20 61 6e 64 20 62 |gle queu|e, and b|
|00005490| 65 63 61 75 73 65 20 74 | 68 65 72 65 20 69 73 20 |ecause t|here is |
|000054a0| 6e 6f 20 66 61 63 69 6c | 69 74 79 20 69 6d 70 6c |no facil|ity impl|
|000054b0| 65 6d 65 6e 74 65 64 20 | 74 6f 20 6b 65 65 70 20 |emented |to keep |
|000054c0| 74 72 61 63 6b 20 6f 66 | 20 77 68 69 63 68 20 65 |track of| which e|
|000054d0| 76 65 6e 74 73 20 62 65 | 6c 6f 6e 67 20 74 6f 20 |vents be|long to |
|000054e0| 77 68 69 63 68 20 6c 61 | 79 65 72 2c 20 61 6c 6c |which la|yer, all|
|000054f0| 20 65 76 65 6e 74 73 20 | 69 6e 20 74 68 65 20 71 | events |in the q|
|00005500| 75 65 75 65 20 61 72 65 | 20 70 61 73 73 65 64 20 |ueue are| passed |
|00005510| 74 6f 20 74 68 65 20 66 | 72 6f 6e 74 6d 6f 73 74 |to the f|rontmost|
|00005520| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 2e 20 20 54 | applica|tion. T|
|00005530| 68 69 73 20 73 69 74 75 | 61 74 69 6f 6e 20 63 61 |his situ|ation ca|
|00005540| 6e 20 63 61 75 73 65 20 | 70 72 6f 62 6c 65 6d 73 |n cause |problems|
|00005550| 20 66 6f 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | for app|lication|
|00005560| 73 20 74 68 61 74 20 74 | 61 6b 65 20 61 64 76 61 |s that t|ake adva|
|00005570| 6e 74 61 67 65 20 6f 66 | 20 61 70 70 6c 69 63 61 |ntage of| applica|
|00005580| 74 69 6f 6e 2d 64 65 66 | 69 6e 65 64 20 65 76 65 |tion-def|ined eve|
|00005590| 6e 74 73 2e 20 20 49 66 | 20 74 68 65 20 61 70 70 |nts. If| the app|
|000055a0| 6c 69 63 61 74 69 6f 6e | 20 69 73 20 69 6e 20 74 |lication| is in t|
|000055b0| 68 65 20 62 61 63 6b 67 | 72 6f 75 6e 64 20 61 6e |he backg|round an|
|000055c0| 64 20 70 6f 73 74 73 20 | 6f 6e 65 20 6f 66 20 74 |d posts |one of t|
|000055d0| 68 65 73 65 20 65 76 65 | 6e 74 73 2c 20 74 68 65 |hese eve|nts, the|
|000055e0| 6e 20 69 74 20 69 73 20 | 74 68 65 20 66 6f 72 65 |n it is |the fore|
|000055f0| 67 72 6f 75 6e 64 20 61 | 70 70 6c 69 63 61 74 69 |ground a|pplicati|
|00005600| 6f 6e 20 74 68 61 74 20 | 72 65 63 65 69 76 65 73 |on that |receives|
|00005610| 20 69 74 2e 0d 54 68 69 | 73 20 64 6f 65 73 20 6e | it..Thi|s does n|
|00005620| 6f 74 20 61 70 70 6c 79 | 20 74 6f 20 65 76 65 6e |ot apply| to even|
|00005630| 74 73 20 77 68 69 63 68 | 20 61 72 65 20 6e 6f 74 |ts which| are not|
|00005640| 20 72 65 61 6c 6c 79 20 | 73 74 6f 72 65 64 20 69 | really |stored i|
|00005650| 6e 20 74 68 65 20 65 76 | 65 6e 74 20 71 75 65 75 |n the ev|ent queu|
|00005660| 65 2e 20 20 54 68 65 20 | 6c 69 73 74 20 6f 66 20 |e. The |list of |
|00005670| 74 68 65 73 65 20 65 76 | 65 6e 74 73 20 69 6e 63 |these ev|ents inc|
|00005680| 6c 75 64 65 2c 20 62 75 | 74 20 69 73 20 6e 6f 74 |lude, bu|t is not|
|00005690| 20 6c 69 6d 69 74 65 64 | 20 74 6f 2c 20 61 63 74 | limited| to, act|
|000056a0| 69 76 61 74 65 20 61 6e | 64 20 75 70 64 61 74 65 |ivate an|d update|
|000056b0| 20 65 76 65 6e 74 73 2c | 20 77 68 69 63 68 20 61 | events,| which a|
|000056c0| 72 65 20 67 65 6e 65 72 | 61 74 65 64 20 62 79 20 |re gener|ated by |
|000056d0| 74 68 65 20 57 69 6e 64 | 6f 77 20 4d 61 6e 61 67 |the Wind|ow Manag|
|000056e0| 65 72 20 61 73 20 6e 65 | 65 64 65 64 2c 20 61 6e |er as ne|eded, an|
|000056f0| 64 20 61 72 65 20 63 6f | 72 72 65 63 74 6c 79 20 |d are co|rrectly |
|00005700| 72 6f 75 74 65 64 20 74 | 6f 20 74 68 65 20 72 69 |routed t|o the ri|
|00005710| 67 68 74 20 61 70 70 6c | 69 63 61 74 69 6f 6e 2e |ght appl|ication.|
|00005720| 0d 4d 69 73 63 65 6c 6c | 61 6e 65 6f 75 73 20 4d |.Miscell|aneous M|
|00005730| 69 73 63 65 6c 6c 61 6e | 65 61 0d 54 68 65 20 73 |iscellan|ea.The s|
|00005740| 6f 75 6e 64 20 64 72 69 | 76 65 72 20 67 6c 75 65 |ound dri|ver glue|
|00005750| 20 74 68 61 74 20 73 68 | 69 70 70 65 64 20 77 69 | that sh|ipped wi|
|00005760| 74 68 20 4d 50 57 20 31 | 2e 30 20 61 6e 64 20 32 |th MPW 1|.0 and 2|
|00005770| 2e 30 20 69 73 20 6e 6f | 74 20 4d 75 6c 74 69 46 |.0 is no|t MultiF|
|00005780| 69 6e 64 65 72 20 63 6f | 6d 70 61 74 69 62 6c 65 |inder co|mpatible|
|00005790| 20 61 6e 64 20 73 68 6f | 75 6c 64 20 6e 6f 74 20 | and sho|uld not |
|000057a0| 62 65 20 75 73 65 64 2e | 20 20 54 68 69 73 20 61 |be used.| This a|
|000057b0| 6c 73 6f 20 69 6e 63 6c | 75 64 65 73 20 6d 75 63 |lso incl|udes muc|
|000057c0| 68 20 6f 66 20 74 68 65 | 20 67 6c 75 65 20 73 75 |h of the| glue su|
|000057d0| 70 70 6c 69 65 64 20 77 | 69 74 68 20 6f 6c 64 65 |pplied w|ith olde|
|000057e0| 72 20 64 65 76 65 6c 6f | 70 6d 65 6e 74 20 73 79 |r develo|pment sy|
|000057f0| 73 74 65 6d 73 2e 20 20 | 49 6e 73 74 65 61 64 2c |stems. |Instead,|
|00005800| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 20 73 68 | applica|tions sh|
|00005810| 6f 75 6c 64 20 62 65 20 | 75 73 69 6e 67 20 74 68 |ould be |using th|
|00005820| 65 20 53 6f 75 6e 64 20 | 4d 61 6e 61 67 65 72 2e |e Sound |Manager.|
|00005830| 0d 41 6c 6c 20 63 6f 64 | 65 20 6e 65 65 64 73 20 |.All cod|e needs |
|00005840| 74 6f 20 62 65 20 61 77 | 61 72 65 20 6f 66 20 74 |to be aw|are of t|
|00005850| 68 65 20 73 68 61 72 65 | 64 20 65 6e 76 69 72 6f |he share|d enviro|
|00005860| 6e 6d 65 6e 74 3b 20 74 | 68 69 73 20 69 6e 63 6c |nment; t|his incl|
|00005870| 75 64 65 73 20 73 63 72 | 65 65 6e 20 73 61 76 65 |udes scr|een save|
|00005880| 72 73 2e 20 20 53 63 72 | 65 65 6e 20 73 61 76 65 |rs. Scr|een save|
|00005890| 72 73 20 73 68 6f 75 6c | 64 20 6d 61 6b 65 20 73 |rs shoul|d make s|
|000058a0| 75 72 65 20 74 68 61 74 | 20 62 61 63 6b 67 72 6f |ure that| backgro|
|000058b0| 75 6e 64 20 70 72 6f 63 | 65 73 73 69 6e 67 20 63 |und proc|essing c|
|000058c0| 6f 6e 74 69 6e 75 65 73 | 2e 20 20 41 20 73 69 6d |ontinues|. A sim|
|000058d0| 70 6c 65 20 73 63 65 6e | 61 72 69 6f 20 66 6f 72 |ple scen|ario for|
|000058e0| 20 61 20 73 63 72 65 65 | 6e 20 73 61 76 65 72 20 | a scree|n saver |
|000058f0| 74 68 61 74 d5 73 20 61 | 6e 20 49 4e 49 54 20 6d |that.s a|n INIT m|
|00005900| 69 67 68 74 20 62 65 3a | 20 20 70 61 74 63 68 20 |ight be:| patch |
|00005910| 5f 50 6f 73 74 45 76 65 | 6e 74 20 61 74 20 49 4e |_PostEve|nt at IN|
|00005920| 49 54 20 74 69 6d 65 2c | 20 70 75 74 20 75 70 20 |IT time,| put up |
|00005930| 61 20 66 75 6c 6c 2d 73 | 63 72 65 65 6e 20 62 6c |a full-s|creen bl|
|00005940| 61 63 6b 20 77 69 6e 64 | 6f 77 20 73 70 69 64 65 |ack wind|ow spide|
|00005950| 72 2c 20 63 61 6c 6c 20 | 5f 57 61 69 74 4e 65 78 |r, call |_WaitNex|
|00005960| 74 45 76 65 6e 74 2c 20 | 61 6e 64 20 77 61 74 63 |tEvent, |and watc|
|00005970| 68 20 5f 50 6f 73 74 45 | 76 65 6e 74 20 74 6f 20 |h _PostE|vent to |
|00005980| 73 65 65 20 69 66 20 61 | 6e 20 65 76 65 6e 74 20 |see if a|n event |
|00005990| 74 68 61 74 20 73 68 6f | 75 6c 64 20 63 61 75 73 |that sho|uld caus|
|000059a0| 65 20 74 68 65 20 73 63 | 72 65 65 6e 20 73 61 76 |e the sc|reen sav|
|000059b0| 65 72 20 74 6f 20 67 6f | 20 61 77 61 79 20 68 61 |er to go| away ha|
|000059c0| 73 20 6f 63 63 75 72 72 | 65 64 2e 0d 46 75 72 74 |s occurr|ed..Furt|
|000059d0| 68 65 72 20 52 65 66 65 | 72 65 6e 63 65 3a 0d a5 |her Refe|rence:..|
|000059e0| 09 49 6e 73 69 64 65 20 | 4d 61 63 69 6e 74 6f 73 |.Inside |Macintos|
|000059f0| 68 2c 20 56 6f 6c 75 6d | 65 20 56 2c 20 43 6f 6d |h, Volum|e V, Com|
|00005a00| 70 61 74 69 62 69 6c 69 | 74 79 20 47 75 69 64 65 |patibili|ty Guide|
|00005a10| 6c 69 6e 65 73 0d a5 09 | 50 72 6f 67 72 61 6d 6d |lines...|Programm|
|00005a20| 65 72 d5 73 20 47 75 69 | 64 65 20 74 6f 20 4d 75 |er.s Gui|de to Mu|
|00005a30| 6c 74 69 46 69 6e 64 65 | 72 20 28 41 50 44 41 29 |ltiFinde|r (APDA)|
|00005a40| 0d a5 09 54 65 63 68 6e | 69 63 61 6c 20 4e 6f 74 |...Techn|ical Not|
|00005a50| 65 20 4f 56 20 31 30 20 | 2d 20 53 65 74 74 69 6e |e OV 10 |- Settin|
|00005a60| 67 20 61 6e 64 20 52 65 | 73 74 6f 72 69 6e 67 20 |g and Re|storing |
|00005a70| 41 35 0d a5 09 54 65 63 | 68 6e 69 63 61 6c 20 4e |A5...Tec|hnical N|
|00005a80| 6f 74 65 20 4f 56 20 31 | 36 20 2d 20 5f 47 65 73 |ote OV 1|6 - _Ges|
|00005a90| 74 61 6c 74 20 26 20 5f | 53 79 73 45 6e 76 69 72 |talt & _|SysEnvir|
|00005aa0| 6f 6e 73 d1 41 20 4e 65 | 76 65 72 2d 45 6e 64 69 |ons.A Ne|ver-Endi|
|00005ab0| 6e 67 20 53 74 6f 72 79 | 0d a5 09 54 65 63 68 6e |ng Story|...Techn|
|00005ac0| 69 63 61 6c 20 4e 6f 74 | 65 20 4f 56 20 31 37 20 |ical Not|e OV 17 |
|00005ad0| 2d 20 4d 75 6c 74 69 46 | 69 6e 64 65 72 20 52 65 |- MultiF|inder Re|
|00005ae0| 76 69 73 69 74 65 64 3a | 20 54 68 65 20 36 2e 30 |visited:| The 6.0|
|00005af0| 20 53 79 73 74 65 6d 20 | 52 65 6c 65 61 73 65 0d | System |Release.|
|00005b00| a5 09 54 65 63 68 6e 69 | 63 61 6c 20 4e 6f 74 65 |..Techni|cal Note|
|00005b10| 20 50 53 20 31 20 2d 20 | 53 75 62 28 4c 61 75 6e | PS 1 - |Sub(Laun|
|00005b20| 63 68 69 6e 67 29 20 46 | 72 6f 6d 20 61 20 48 69 |ching) F|rom a Hi|
|00005b30| 67 68 2d 4c 65 76 65 6c | 20 4c 61 6e 67 75 61 67 |gh-Level| Languag|
|00005b40| 65 20 0d a5 09 54 65 63 | 68 6e 69 63 61 6c 20 4e |e ...Tec|hnical N|
|00005b50| 6f 74 65 20 54 42 20 31 | 34 20 2d 20 46 72 65 71 |ote TB 1|4 - Freq|
|00005b60| 75 65 6e 74 6c 79 20 41 | 73 6b 65 64 20 4d 75 6c |uently A|sked Mul|
|00005b70| 74 69 46 69 6e 64 65 72 | 20 51 75 65 73 74 69 6f |tiFinder| Questio|
|00005b80| 6e 73 0d 1c 22 00 00 00 | 00 03 48 02 52 00 11 02 |ns.."...|..H.R...|
|00005b90| ff 0c 00 ff ff ff ff 00 | 00 00 00 00 00 00 00 02 |........|........|
|00005ba0| 52 00 00 03 48 00 00 00 | 00 00 00 00 1e 00 01 00 |R...H...|........|
|00005bb0| 0a 00 00 00 00 03 49 02 | 52 00 20 02 be 00 58 02 |......I.|R. ...X.|
|00005bc0| be 02 1d 00 2c 00 08 00 | 14 05 54 69 6d 65 73 00 |....,...|..Times.|
|00005bd0| 03 00 14 00 0d 00 0a 00 | 2e 00 04 00 00 00 00 00 |........|........|
|00005be0| 28 02 d6 00 5a 1f 54 42 | 20 33 35 20 2d 20 4d 75 |(...Z.TB| 35 - Mu|
|00005bf0| 6c 74 69 46 69 6e 64 65 | 72 20 4d 69 73 63 65 6c |ltiFinde|r Miscel|
|00005c00| 6c 61 6e 65 61 00 28 02 | d6 01 ff 01 31 00 29 05 |lanea.(.|....1.).|
|00005c10| 06 20 6f 66 20 31 30 00 | 28 02 ec 00 5a 07 54 6f |. of 10.|(...Z.To|
|00005c20| 6f 6c 62 6f 78 00 a0 00 | 82 00 01 00 0a 00 2f 00 |olbox...|....../.|
|00005c30| 5a 00 81 02 23 00 07 00 | 00 00 00 00 08 00 0a 00 |Z...#...|........|
|00005c40| 09 30 49 88 3a b5 9c f0 | 39 00 22 00 7b 02 1a 00 |.0I.:...|9.".{...|
|00005c50| 00 00 09 ff ff ff ff ff | ff ff ff 00 23 00 00 00 |........|....#...|
|00005c60| a0 00 c4 00 a1 00 64 00 | 0a 4f 4e 4c 4e 00 66 00 |......d.|.ONLN.f.|
|00005c70| 00 01 fe 00 a0 00 8c 00 | a1 00 64 00 31 64 72 77 |........|..d.1drw|
|00005c80| 32 00 02 01 c9 00 2d 01 | e1 01 5f 00 00 80 00 00 |2.....-.|.._.....|
|00005c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 ff |........|........|
|00005ca0| ff ff ff ff ff 00 01 00 | 00 01 8f 00 00 00 00 00 |........|........|
|00005cb0| a1 00 96 00 0c 01 00 00 | 00 02 78 00 00 00 00 00 |........|..x.....|
|00005cc0| 00 00 a1 00 64 00 10 64 | 72 77 32 00 3a 00 05 00 |....d..d|rw2.:...|
|00005cd0| 00 00 00 00 01 00 00 00 | a1 00 64 00 0e 64 72 77 |........|..d..drw|
|00005ce0| 32 00 3a 00 02 00 24 00 | 00 00 00 00 a1 00 64 00 |2.:...$.|......d.|
|00005cf0| 34 64 72 77 32 00 3a 00 | 01 00 03 01 00 00 18 00 |4drw2.:.|........|
|00005d00| 00 00 00 00 00 00 00 00 | 00 00 01 00 01 00 01 00 |........|........|
|00005d10| 01 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d20| 00 00 00 00 00 00 a1 00 | 9a 00 08 ff fa 00 00 00 |........|........|
|00005d30| 97 40 00 00 a0 00 98 00 | 04 01 00 00 0d 00 18 00 |.@......|........|
|00005d40| 2e 00 04 00 00 01 00 00 | 10 00 52 01 c9 00 52 01 |........|..R...R.|
|00005d50| c9 00 28 00 42 00 5d 13 | 4e 65 77 20 54 65 63 68 |..(.B.].|New Tech|
|00005d60| 6e 69 63 61 6c 20 4e 6f | 74 65 73 00 a0 00 99 00 |nical No|tes.....|
|00005d70| a1 00 64 00 08 64 72 77 | 32 00 3a 00 04 00 a1 14 |..d..drw|2.:.....|
|00005d80| e3 00 02 00 01 00 a0 00 | 97 00 a1 00 64 00 31 64 |........|....d.1d|
|00005d90| 72 77 32 00 02 02 06 01 | 65 02 19 01 f4 00 00 80 |rw2.....|e.......|
|00005da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005db0| 00 ff ff ff ff ff ff 00 | 01 00 00 01 50 00 00 00 |........|....P...|
|00005dc0| 00 00 a1 00 96 00 0c 01 | 00 00 00 02 78 00 00 00 |........|....x...|
|00005dd0| 00 00 00 00 a1 00 64 00 | 10 64 72 77 32 00 3a 00 |......d.|.drw2.:.|
|00005de0| 05 00 00 00 00 00 01 00 | 00 00 a1 00 64 00 0e 64 |........|....d..d|
|00005df0| 72 77 32 00 3a 00 02 00 | 24 00 00 00 00 00 a1 00 |rw2.:...|$.......|
|00005e00| 64 00 34 64 72 77 32 00 | 3a 00 01 00 03 00 00 00 |d.4drw2.|:.......|
|00005e10| 12 00 00 00 00 00 00 00 | 00 00 00 00 01 00 01 00 |........|........|
|00005e20| 01 00 01 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e30| 00 00 00 00 00 00 00 00 | a1 00 9a 00 08 ff fb 80 |........|........|
|00005e40| 00 00 45 c0 00 00 a0 00 | 98 00 04 00 00 00 0d 00 |..E.....|........|
|00005e50| 12 00 28 00 7b 01 95 11 | 44 65 76 65 6c 6f 70 65 |..(.{...|Develope|
|00005e60| 72 20 53 75 70 70 6f 72 | 74 00 a0 00 99 00 a1 00 |r Suppor|t.......|
|00005e70| 64 00 08 64 72 77 32 00 | 3a 00 04 00 a1 14 e3 00 |d..drw2.|:.......|
|00005e80| 02 00 01 00 a0 00 97 00 | a1 00 64 00 60 64 72 77 |........|..d.`drw|
|00005e90| 32 00 03 02 00 00 2d 02 | 00 01 ef 00 00 00 00 00 |2.....-.|........|
|00005ea0| 00 00 00 02 02 00 00 00 | 00 00 00 00 00 00 00 ff |........|........|
|00005eb0| ff ff ff ff ff 00 01 00 | 01 08 4b 00 00 00 00 02 |........|..K.....|
|00005ec0| 00 01 ef 02 00 00 2d 00 | 00 00 00 00 00 00 00 00 |......-.|........|
|00005ed0| 01 00 14 00 0c 00 03 00 | 02 00 00 00 5a 00 01 00 |........|....Z...|
|00005ee0| 00 00 02 00 00 00 03 00 | 0c 00 00 00 00 00 07 00 |........|........|
|00005ef0| 02 00 02 00 08 00 08 00 | 20 00 66 02 1c 00 66 00 |........| .f...f.|
|00005f00| 5a 00 a1 00 64 00 31 64 | 72 77 32 00 02 01 ca 01 |Z...d.1d|rw2.....|
|00005f10| c0 01 fa 01 e9 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f20| 00 00 00 00 00 00 00 00 | 00 ff ff ff ff ff ff 00 |........|........|
|00005f30| 01 00 00 01 4b 00 00 00 | 00 00 a1 00 96 00 0c 01 |....K...|........|
|00005f40| 00 00 00 02 78 00 00 00 | 00 00 00 00 a1 00 64 00 |....x...|......d.|
|00005f50| 10 64 72 77 32 00 3a 00 | 05 00 00 00 00 00 01 00 |.drw2.:.|........|
|00005f60| 00 00 a1 00 64 00 0e 64 | 72 77 32 00 3a 00 02 00 |....d..d|rw2.:...|
|00005f70| 24 00 00 00 00 00 a1 00 | 64 00 34 64 72 77 32 00 |$.......|d.4drw2.|
|00005f80| 3a 00 01 00 03 00 00 00 | 30 00 00 00 00 00 00 00 |:.......|0.......|
|00005f90| 00 00 00 00 01 00 01 00 | 01 00 01 00 00 00 00 00 |........|........|
|00005fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fb0| a1 00 9a 00 08 ff f4 00 | 00 00 13 80 00 00 a0 00 |........|........|
|00005fc0| 98 00 0d 00 30 00 28 00 | 55 01 ef 01 f0 00 a0 00 |....0.(.|U.......|
|00005fd0| 99 00 a1 00 64 00 08 64 | 72 77 32 00 3a 00 04 00 |....d..d|rw2.:...|
|00005fe0| a1 14 e3 00 02 00 01 00 | a0 00 97 00 a1 00 64 00 |........|......d.|
|00005ff0| 31 64 72 77 32 00 02 01 | ef 01 e6 01 fa 01 f0 00 |1drw2...|........|
|00006000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006010| 00 00 00 ff ff ff ff ff | ff 00 01 00 00 01 00 00 |........|........|
|00006020| 00 00 00 00 a1 00 96 00 | 0c 01 00 00 00 02 78 00 |........|......x.|
|00006030| 00 00 00 00 00 00 a1 00 | 64 00 10 64 72 77 32 00 |........|d..drw2.|
|00006040| 3a 00 05 00 00 00 00 00 | 01 00 00 00 a1 00 64 00 |:.......|......d.|
|00006050| 0e 64 72 77 32 00 3a 00 | 02 00 24 00 00 00 00 00 |.drw2.:.|..$.....|
|00006060| a1 00 64 00 34 64 72 77 | 32 00 3a 00 01 00 03 00 |..d.4drw|2.:.....|
|00006070| 00 00 09 00 00 00 00 00 | 00 00 00 00 00 00 01 00 |........|........|
|00006080| 01 00 01 00 01 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006090| 00 00 00 00 00 00 00 00 | 00 00 a1 00 9a 00 08 ff |........|........|
|000060a0| fd 80 00 00 04 00 00 00 | a0 00 98 00 0d 00 09 00 |........|........|
|000060b0| 2b 26 09 01 a8 00 a0 00 | 99 00 a1 00 64 00 08 64 |+&......|....d..d|
|000060c0| 72 77 32 00 3a 00 04 00 | a1 14 e3 00 02 00 01 00 |rw2.:...|........|
|000060d0| a0 00 97 00 a1 00 64 00 | 31 64 72 77 32 00 02 01 |......d.|1drw2...|
|000060e0| e5 00 2d 01 f8 00 79 00 | 00 00 00 00 00 00 00 00 |..-...y.|........|
|000060f0| 00 00 00 00 00 00 00 00 | 00 00 00 ff ff ff ff ff |........|........|
|00006100| ff 00 01 00 01 01 00 00 | 00 01 00 00 a1 00 96 00 |........|........|
|00006110| 0c 01 00 00 00 02 78 00 | 00 00 00 00 00 00 a1 00 |......x.|........|
|00006120| 64 00 10 64 72 77 32 00 | 3a 00 05 00 00 00 00 00 |d..drw2.|:.......|
|00006130| 01 00 00 00 a1 00 64 00 | 0e 64 72 77 32 00 3a 00 |......d.|.drw2.:.|
|00006140| 02 00 24 00 00 00 00 00 | a1 00 64 00 34 64 72 77 |..$.....|..d.4drw|
|00006150| 32 00 3a 00 01 00 03 00 | 00 00 12 00 00 00 00 00 |2.:.....|........|
|00006160| 00 00 00 00 00 00 01 00 | 01 00 01 00 01 00 00 00 |........|........|
|00006170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006180| 00 00 a1 00 9a 00 08 ff | fb 80 00 00 25 00 00 00 |........|....%...|
|00006190| a0 00 98 00 0d 00 12 00 | 28 00 5a 00 5c 09 4d 61 |........|(.Z.\.Ma|
|000061a0| 63 69 6e 74 6f 73 68 00 | a0 00 99 00 a1 00 64 00 |cintosh.|......d.|
|000061b0| 08 64 72 77 32 00 3a 00 | 04 00 a1 14 e3 00 02 00 |.drw2.:.|........|
|000061c0| 01 00 a0 00 97 00 a0 00 | 8d 00 a1 00 64 00 06 64 |........|....d..d|
|000061d0| 72 77 32 00 44 00 a0 00 | 83 00 01 00 0a 00 00 00 |rw2.D...|........|
|000061e0| 00 03 49 02 52 00 04 01 | 00 00 2e 00 04 00 00 00 |..I.R...|........|
|000061f0| 00 00 10 00 01 00 01 00 | 01 00 01 00 a1 00 64 00 |........|......d.|
|00006200| 10 4f 4e 4c 4e 00 64 00 | 00 00 81 00 5a 00 94 01 |.ONLN.d.|....Z...|
|00006210| 6a 00 28 00 8f 00 5a 1f | 54 42 20 33 35 20 2d 20 |j.(...Z.|TB 35 - |
|00006220| 4d 75 6c 74 69 46 69 6e | 64 65 72 20 4d 69 73 63 |MultiFin|der Misc|
|00006230| 65 6c 6c 61 6e 65 61 00 | 0d 00 0e 00 a1 00 64 00 |ellanea.|......d.|
|00006240| 10 4f 4e 4c 4e 00 64 00 | 20 00 93 00 5a 00 a2 00 |.ONLN.d.| ...Z...|
|00006250| 91 00 2a 10 07 54 6f 6f | 6c 62 6f 78 00 00 04 00 |..*..Too|lbox....|
|00006260| 00 00 0d 00 0c 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00006270| 64 00 29 00 ae 00 5a 00 | ba 00 92 00 2a 18 0b 52 |d.)...Z.|....*..R|
|00006280| 65 76 69 73 65 64 20 62 | 79 3a 00 00 a1 00 64 00 |evised b|y:....d.|
|00006290| 10 4f 4e 4c 4e 00 64 00 | 35 00 ae 00 a2 00 ba 01 |.ONLN.d.|5.......|
|000062a0| 31 00 29 48 1d 44 61 76 | 65 20 52 61 64 63 6c 69 |1.)H.Dav|e Radcli|
|000062b0| 66 66 65 20 26 20 4b 65 | 69 74 68 20 52 6f 6c 6c |ffe & Ke|ith Roll|
|000062c0| 69 6e 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 00 |in....d.|.ONLN.d.|
|000062d0| 53 00 ae 01 df 00 ba 02 | 1c 00 28 00 b7 01 df 0b |S.......|..(.....|
|000062e0| 41 75 67 75 73 74 20 31 | 39 38 39 00 a1 00 64 00 |August 1|989...d.|
|000062f0| 10 4f 4e 4c 4e 00 64 00 | 5f 00 ba 00 5a 00 c6 00 |.ONLN.d.|_...Z...|
|00006300| 8f 00 28 00 c3 00 5a 0b | 57 72 69 74 74 65 6e 20 |..(...Z.|Written |
|00006310| 62 79 3a 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 00 |by:...d.|.ONLN.d.|
|00006320| 6b 00 ba 00 a2 00 c6 00 | ec 00 29 48 0f 4a 69 6d |k.......|..)H.Jim|
|00006330| 20 46 72 69 65 64 6c 61 | 6e 64 65 72 00 00 a1 00 | Friedla|nder....|
|00006340| 64 00 10 4f 4e 4c 4e 00 | 64 00 7b 00 ba 01 cf 00 |d..ONLN.|d.{.....|
|00006350| c6 02 1c 00 28 00 c3 01 | cf 0d 4e 6f 76 65 6d 62 |....(...|..Novemb|
|00006360| 65 72 20 31 39 38 37 00 | a1 00 64 00 10 4f 4e 4c |er 1987.|..d..ONL|
|00006370| 4e 00 64 00 89 00 d2 00 | 5a 00 de 02 07 00 28 00 |N.d.....|Z.....(.|
|00006380| db 00 5a 56 54 68 69 73 | 20 54 65 63 68 6e 69 63 |..ZVThis| Technic|
|00006390| 61 6c 20 4e 6f 74 65 20 | 64 69 73 63 75 73 73 65 |al Note |discusse|
|000063a0| 73 20 4d 75 6c 74 69 46 | 69 6e 64 65 72 20 69 73 |s MultiF|inder is|
|000063b0| 73 75 65 73 20 6f 66 20 | 77 68 69 63 68 20 70 72 |sues of |which pr|
|000063c0| 6f 67 72 61 6d 6d 65 72 | 73 20 73 68 6f 75 6c 64 |ogrammer|s should|
|000063d0| 20 62 65 20 61 77 61 72 | 65 2e 00 00 04 01 00 00 | be awar|e.......|
|000063e0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 00 e0 00 de 00 |..d..ONL|N.d.....|
|000063f0| 5a 00 ea 00 ed 00 2a 0c | 18 43 68 61 6e 67 65 73 |Z.....*.|.Changes|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.